clarify use of getDeleteToken() method in unit test
This commit is contained in:
parent
af54e70359
commit
ae1e4e3edb
|
@ -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');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue