clarify use of getDeleteToken() method in unit test

This commit is contained in:
El RIDO 2021-06-16 04:39:24 +02:00
parent af54e70359
commit ae1e4e3edb
No known key found for this signature in database
GPG Key ID: 0F5C940A6BD81F92
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ class ModelTest extends PHPUnit_Framework_TestCase
$statement->closeCursor();
$paste = $model->getPaste(Helper::getPasteId());
$paste->getDeleteToken();
$this->assertNotEmpty($paste->getDeleteToken(), 'excercise the condition to load the data from storage');
$this->assertEquals('plaintext', $paste->get()['meta']['formatter'], 'paste got created with default formatter');
}