Browse Source

Fix deprecated method use in a few class fixtures.

Mark Story 8 years ago
parent
commit
8635f34920

+ 1 - 1
tests/test_app/Plugin/TestPlugin/src/Model/Table/TestPluginCommentsTable.php

@@ -24,6 +24,6 @@ class TestPluginCommentsTable extends Table
 
     public function initialize(array $config)
     {
-        $this->table('test_plugin_comments');
+        $this->setTable('test_plugin_comments');
     }
 }

+ 1 - 1
tests/test_app/TestApp/Model/Table/I18nTable.php

@@ -21,7 +21,7 @@ class I18nTable extends Table
 
     public function initialize(array $config)
     {
-        $this->table('custom_i18n_table');
+        $this->setTable('custom_i18n_table');
     }
 
     public static function defaultConnectionName()