Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'test/classes/Plugins/Export/ExportXmlTest.php')
-rw-r--r--test/classes/Plugins/Export/ExportXmlTest.php13
1 files changed, 4 insertions, 9 deletions
diff --git a/test/classes/Plugins/Export/ExportXmlTest.php b/test/classes/Plugins/Export/ExportXmlTest.php
index a2bff35a19..d5b66a9072 100644
--- a/test/classes/Plugins/Export/ExportXmlTest.php
+++ b/test/classes/Plugins/Export/ExportXmlTest.php
@@ -215,17 +215,12 @@ class ExportXmlTest extends AbstractTestCase
'DEFINER' => 'test_user@localhost',
],
];
+ $functions = [['Db' => 'd<"b', 'Name' => 'fn', 'Type' => 'FUNCTION']];
+ $procedures = [['Db' => 'd<"b', 'Name' => 'pr', 'Type' => 'PROCEDURE']];
- $dbi->expects($this->exactly(4))
+ $dbi->expects($this->exactly(6))
->method('fetchResult')
- ->willReturnOnConsecutiveCalls($result, $result, [], $triggers);
-
- $dbi->expects($this->exactly(2))
- ->method('getProceduresOrFunctions')
- ->willReturnOnConsecutiveCalls(
- ['fn'],
- ['pr']
- );
+ ->willReturnOnConsecutiveCalls($result, $result, [], $triggers, $functions, $procedures);
$dbi->expects($this->exactly(2))
->method('fetchValue')