Commit ccae78ef by Qiang Xue

Fixed test break.

parent b14ca5c6
...@@ -78,6 +78,7 @@ class ActiveFixtureTest extends DatabaseTestCase ...@@ -78,6 +78,7 @@ class ActiveFixtureTest extends DatabaseTestCase
$this->assertEquals('customer1@example.com', $fixture['customer1']['email']); $this->assertEquals('customer1@example.com', $fixture['customer1']['email']);
$this->assertEquals(2, $fixture['customer2']['id']); $this->assertEquals(2, $fixture['customer2']['id']);
$this->assertEquals('customer2@example.com', $fixture['customer2']['email']); $this->assertEquals('customer2@example.com', $fixture['customer2']['email']);
$test->tearDown();
} }
public function testGetModel() public function testGetModel()
...@@ -90,5 +91,6 @@ class ActiveFixtureTest extends DatabaseTestCase ...@@ -90,5 +91,6 @@ class ActiveFixtureTest extends DatabaseTestCase
$this->assertEquals('customer1@example.com', $fixture->getModel('customer1')->email); $this->assertEquals('customer1@example.com', $fixture->getModel('customer1')->email);
$this->assertEquals(2, $fixture->getModel('customer2')->id); $this->assertEquals(2, $fixture->getModel('customer2')->id);
$this->assertEquals('customer2@example.com', $fixture->getModel('customer2')->email); $this->assertEquals('customer2@example.com', $fixture->getModel('customer2')->email);
$test->tearDown();
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment