Issue #2244087 by cs_shadow, andrei.dincu, joachim: Add explanation comment in NodeCreationTest

8.0.x
Jennifer Hodgdon 2014-04-23 08:09:58 -07:00
parent d5c96218ed
commit a172c1c78d
1 changed files with 2 additions and 0 deletions

View File

@ -89,6 +89,8 @@ class NodeCreationTest extends NodeTestBase {
);
try {
// An exception is generated by node_test_exception_node_insert() if the
// title is 'testing_transaction_exception'.
entity_create('node', $edit)->save();
$this->fail(t('Expected exception has not been thrown.'));
}