mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-03-18 07:29:51 +00:00
Applied patch by 'adj', closes #4637
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6957 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
c3d266e27d
commit
c269f5c383
1 changed files with 1 additions and 0 deletions
|
@ -354,6 +354,7 @@ class CakeTestCase extends UnitTestCase {
|
||||||
function start() {
|
function start() {
|
||||||
if (isset($this->_fixtures) && isset($this->db)) {
|
if (isset($this->_fixtures) && isset($this->db)) {
|
||||||
foreach ($this->_fixtures as $fixture) {
|
foreach ($this->_fixtures as $fixture) {
|
||||||
|
$fixture->drop($this->db);
|
||||||
$fixture->create($this->db);
|
$fixture->create($this->db);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue