diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-07-13 07:27:15 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-07-13 07:27:15 +0000 |
commit | 6682ab936c8d49a8be32b2e149b45f1eba79de0c (patch) | |
tree | dc693e966ed909edd3f7cd605befb70fdcd2049e /modules/simpletest/tests/database_test.test | |
parent | 6dc5b5449d6c52b433e6b712786c2e49778a363f (diff) | |
download | brdo-6682ab936c8d49a8be32b2e149b45f1eba79de0c.tar.gz brdo-6682ab936c8d49a8be32b2e149b45f1eba79de0c.tar.bz2 |
- Patch #517502 by Crell: make transaction API follow its own documentation.
Diffstat (limited to 'modules/simpletest/tests/database_test.test')
-rw-r--r-- | modules/simpletest/tests/database_test.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/simpletest/tests/database_test.test b/modules/simpletest/tests/database_test.test index 3d6a4ebce..51b110db9 100644 --- a/modules/simpletest/tests/database_test.test +++ b/modules/simpletest/tests/database_test.test @@ -2624,8 +2624,8 @@ class DatabaseTransactionTestCase extends DatabaseTestCase { if ($rollback) { // Roll back the transaction, if requested. // This rollback should propagate to the the outer transaction, if present. - $connection->rollBack(); - $this->assertTrue($connection->willRollBack(), t('Transaction is scheduled to roll back after calling rollBack().')); + $txn->rollback(); + $this->assertTrue($txn->willRollback(), t('Transaction is scheduled to roll back after calling rollback().')); } } |