Visitar URL original
Merge pull request #20420 from MauricioFauth/merge-fix · phpmyadmin/phpmyadmin@ed8510f · GitHub
Skip to content

Commit ed8510f

Browse files
Merge pull request #20420 from MauricioFauth/merge-fix
Fix failing test
2 parents 852baa6 + 6db91ea commit ed8510f

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

‎tests/unit/Table/TableTest.php‎

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1543,21 +1543,14 @@ public function testMoveCopy(): void
15431543

15441544
// Renaming DB with a view bug
15451545
$resultStub = $this->createMock(DummyResult::class);
1546-
$this->mockedDbi->expects($this->atLeast(4))->method('tryQuery')->willReturnMap([
1546+
$this->mockedDbi->expects($this->atLeast(3))->method('tryQuery')->willReturnMap([
15471547
[
15481548
'SHOW CREATE TABLE `aa`.`ad`',
15491549
ConnectionType::User,
15501550
false,
15511551
true,
15521552
$resultStub,
15531553
],
1554-
[
1555-
'SHOW TABLE STATUS FROM `aa` WHERE Name = \'ad\'',
1556-
ConnectionType::User,
1557-
false,
1558-
true,
1559-
$resultStub,
1560-
],
15611554
['USE `aa`', ConnectionType::User, false, true, $resultStub],
15621555
[
15631556
'RENAME TABLE `aa`.`ad` TO `bb`.`ad`;',

0 commit comments

Comments
 (0)