seems impacted by removal of cache, let's see if we can adjust the test
This commit is contained in:
parent
9a1f3aeca5
commit
f4eed668e7
|
@ -261,6 +261,9 @@ class ModelTest extends PHPUnit_Framework_TestCase
|
||||||
$paste->store();
|
$paste->store();
|
||||||
$paste->exists();
|
$paste->exists();
|
||||||
|
|
||||||
|
$comment = $paste->getComment(Helper::getPasteId());
|
||||||
|
$comment->setData($commentData);
|
||||||
|
|
||||||
$db = new PDO(
|
$db = new PDO(
|
||||||
$options['model_options']['dsn'],
|
$options['model_options']['dsn'],
|
||||||
$options['model_options']['usr'],
|
$options['model_options']['usr'],
|
||||||
|
@ -271,8 +274,6 @@ class ModelTest extends PHPUnit_Framework_TestCase
|
||||||
$statement->execute();
|
$statement->execute();
|
||||||
$statement->closeCursor();
|
$statement->closeCursor();
|
||||||
|
|
||||||
$comment = $paste->getComment(Helper::getPasteId());
|
|
||||||
$comment->setData($commentData);
|
|
||||||
$comment->store();
|
$comment->store();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue