diff --git a/tests/model/MySQLDatabaseTest.php b/tests/model/MySQLDatabaseTest.php index 1cac2ad14..456dc1bfa 100644 --- a/tests/model/MySQLDatabaseTest.php +++ b/tests/model/MySQLDatabaseTest.php @@ -35,10 +35,9 @@ class MySQLDatabaseTest extends SapphireTest { $db->beginSchemaUpdate(); $obj = new MySQLDatabaseTest_DO(); $obj->requireTable(); - $needsUpdating = $db->doesSchemaNeedUpdating(); + $this->assertTrue($db->doesSchemaNeedUpdating()); $db->cancelSchemaUpdate(); - - $this->assertFalse($needsUpdating); + $this->assertFalse($db->doesSchemaNeedUpdating()); } } }