BUG Fix table name test

This commit is contained in:
Christopher Joe 2017-11-29 10:59:18 +13:00 committed by Guy Sartorelli
parent a4521a7348
commit b36a01a8fd
No known key found for this signature in database
GPG Key ID: F313E3B9504D496A

View File

@ -58,9 +58,9 @@ class DataObjectSchemaTest extends SapphireTest
'DOSTWithCustomTable',
$schema->tableName(WithCustomTable::class)
);
// Default table name is FQN
// Default table name is Vendor plus base class
$this->assertEquals(
'SilverStripe_ORM_Tests_DataObjectSchemaTest_DefaultTableName',
'SilverStripe_DefaultTableName',
$schema->tableName(DefaultTableName::class)
);
}