diff --git a/tests/php/ORM/DataObjectSchemaTest.php b/tests/php/ORM/DataObjectSchemaTest.php index 8c18660eb..455b8461a 100644 --- a/tests/php/ORM/DataObjectSchemaTest.php +++ b/tests/php/ORM/DataObjectSchemaTest.php @@ -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) ); }