mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-03-22 13:10:41 +08:00
add a verification step for investigating failures in tests below PHP 7.2
This commit is contained in:
parent
669c98550c
commit
6caf1143df
|
@ -259,7 +259,7 @@ class ModelTest extends PHPUnit_Framework_TestCase
|
||||||
$paste = $model->getPaste();
|
$paste = $model->getPaste();
|
||||||
$paste->setData($pasteData);
|
$paste->setData($pasteData);
|
||||||
$paste->store();
|
$paste->store();
|
||||||
$paste->exists();
|
$this->assertTrue($paste->exists(), 'paste exists before creating comment');
|
||||||
|
|
||||||
$comment = $paste->getComment(Helper::getPasteId());
|
$comment = $paste->getComment(Helper::getPasteId());
|
||||||
$comment->setData($commentData);
|
$comment->setData($commentData);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user