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

merge-requests/26/head
Jennifer Hodgdon 2014-04-24 07:41:17 -07:00
parent 0a743444a0
commit f4a8b00f99
1 changed files with 2 additions and 0 deletions

View File

@ -571,6 +571,8 @@ class NodeCreationTestCase extends DrupalWebTestCase {
); );
try { try {
// An exception is generated by node_test_exception_node_insert() if the
// title is 'testing_transaction_exception'.
node_save((object) $edit); node_save((object) $edit);
$this->fail(t('Expected exception has not been thrown.')); $this->fail(t('Expected exception has not been thrown.'));
} }