summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJennifer Hodgdon2014-04-23 15:09:58 (GMT)
committerJennifer Hodgdon2014-04-23 15:09:58 (GMT)
commita172c1c78d312837c605a49974432f53e53d3077 (patch)
tree26ed5c61386cd2235f6d541d1cdf877963216fc1
parentd5c96218edb0eb7a1c7d010f8459998d50158d3a (diff)
Issue #2244087 by cs_shadow, andrei.dincu, joachim: Add explanation comment in NodeCreationTest
-rw-r--r--core/modules/node/lib/Drupal/node/Tests/NodeCreationTest.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/modules/node/lib/Drupal/node/Tests/NodeCreationTest.php b/core/modules/node/lib/Drupal/node/Tests/NodeCreationTest.php
index c5b4514..540f952 100644
--- a/core/modules/node/lib/Drupal/node/Tests/NodeCreationTest.php
+++ b/core/modules/node/lib/Drupal/node/Tests/NodeCreationTest.php
@@ -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.'));
}