|
|
@@ -193,8 +193,8 @@ class CakeFixtureManager {
|
|
|
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])) {
|
|
|
@@ -205,7 +205,7 @@ class CakeFixtureManager {
|
|
|
}
|
|
|
}
|
|
|
$test->db->commit();
|
|
|
- $this->db->nestedTransaction = $nested;
|
|
|
+ $test->db->nestedTransaction = $nested;
|
|
|
}
|
|
|
|
|
|
/**
|