Skip to content

Commit b2099ba

Browse files
committed
add MariaDB support
1 parent 332afba commit b2099ba

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/TestCase/Command/DumpSqlCommandTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public function testCommandDataOnly(): void
7272
$this->assertOutputContains('INSERT INTO posts VALUES(');
7373
} elseif ($this->isDBType(Mysql::class)) {
7474
$this->assertOutputNotContains('CREATE TABLE `posts` (');
75-
$this->assertOutputContains('INSERT INTO `posts` VALUES (');
75+
$this->assertOutputContains('INSERT INTO `posts` VALUES');
7676
} elseif ($this->isDBType(Postgres::class)) {
7777
$this->assertOutputNotContains('CREATE TABLE public.posts');
7878
$this->assertOutputContains('COPY public.posts (id, title, created, modified) FROM stdin;');
@@ -103,7 +103,7 @@ public function testCommandGzipped(): void
103103
$this->assertStringContainsString('INSERT INTO posts VALUES(', $sql);
104104
} elseif ($this->isDBType(Mysql::class)) {
105105
$this->assertStringContainsString('CREATE TABLE `posts` (', $sql);
106-
$this->assertStringContainsString('INSERT INTO `posts` VALUES (', $sql);
106+
$this->assertStringContainsString('INSERT INTO `posts` VALUES', $sql);
107107
} elseif ($this->isDBType(Postgres::class)) {
108108
$this->assertStringContainsString('CREATE TABLE public.posts', $sql);
109109
$this->assertStringContainsString('COPY public.posts (id, title, created, modified) FROM stdin;', $sql);

0 commit comments

Comments
 (0)