add a verification step for investigating failures in tests below PHP 7.2

This commit is contained in:
El RIDO 2022-11-06 08:13:07 +01:00
parent 669c98550c
commit 6caf1143df
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92

View file

@ -259,7 +259,7 @@ class ModelTest extends PHPUnit_Framework_TestCase
$paste = $model->getPaste();
$paste->setData($pasteData);
$paste->store();
$paste->exists();
$this->assertTrue($paste->exists(), 'paste exists before creating comment');
$comment = $paste->getComment(Helper::getPasteId());
$comment->setData($commentData);