Skip to content

Commit 3893077

Browse files
committed
fixed deprecated method
1 parent c2ce210 commit 3893077

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/TestCase/Utility/BackupExportAndImportTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public function setUp(): void
7373
/** @var \Cake\Database\Connection $connection */
7474
$connection = $this->getConnection('test');
7575
foreach (['Articles', 'Comments'] as $name) {
76-
$this->{$name} ??= $this->getTable($name, compact('connection'));
76+
$this->{$name} ??= $this->fetchTable($name, compact('connection'));
7777
}
7878
}
7979

0 commit comments

Comments
 (0)