Skip to content

Commit

Permalink
Fixed variable name.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrbasso committed Apr 25, 2012
1 parent 4e480ea commit 12392b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Cake/TestSuite/Fixture/CakeFixtureManager.php
Expand Up @@ -193,8 +193,8 @@ public function load(CakeTestCase $test) {
return;
}

$nested = $this->db->nestedTransaction;
$this->db->nestedTransaction = false;
$nested = $test->db->nestedTransaction;
$test->db->nestedTransaction = false;
$test->db->begin();
foreach ($fixtures as $f) {
if (!empty($this->_loaded[$f])) {
Expand All @@ -205,7 +205,7 @@ public function load(CakeTestCase $test) {
}
}
$test->db->commit();
$this->db->nestedTransaction = $nested;
$test->db->nestedTransaction = $nested;
}

/**
Expand Down

0 comments on commit 12392b6

Please sign in to comment.