mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2026-04-20 22:05:35 -04:00
remove more v1 legacy
- document removed unused columns in database schema of tables `paste` & `comment` - amended misleading comments - nickname is part of the encrypted payload in v2 comments and therefore there is nothing to store separately
This commit is contained in:
+1
-1
@@ -485,6 +485,6 @@ class ModelTest extends TestCase
|
||||
$vz = new Vizhash16x16();
|
||||
$pngdata = 'data:image/png;base64,' . base64_encode($vz->generate(TrafficLimiter::getHash()));
|
||||
$comment = current($this->_model->getPaste(Helper::getPasteId())->get()['comments']);
|
||||
$this->assertEquals($pngdata, $comment['meta']['icon'], 'nickname triggers vizhash to be set');
|
||||
$this->assertEquals($pngdata, $comment['meta']['icon'], 'vizhash was generated');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user