Skip to content

Commit 332afba

Browse files
committed
add MariaDB support
1 parent 621a02f commit 332afba

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

phpunit.xml.dist

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
<php>
1111
<ini name="memory_limit" value="-1"/>
12-
<ini name="apc.enable_cli" value="1"/>
1312
<env name="FIXTURE_SCHEMA_METADATA" value="./tests/schema.php"/>
1413
<!-- SQLite
1514
<env name="DB_URL" value="sqlite:///:memory:"/>

tests/TestCase/Command/DumpSqlCommandTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,8 @@ public function testCommand(): void
4646
$this->assertOutputContains('CREATE TABLE IF NOT EXISTS "posts"');
4747
$this->assertOutputContains('INSERT INTO posts VALUES(');
4848
} elseif ($this->isDBType(Mysql::class)) {
49-
var_dump($this->_out->messages());
50-
var_dump($this->_err->messages());
5149
$this->assertOutputContains('CREATE TABLE `posts` (');
52-
$this->assertOutputContains('INSERT INTO `posts` VALUES (');
50+
$this->assertOutputContains('INSERT INTO `posts` VALUES');
5351
} elseif ($this->isDBType(Postgres::class)) {
5452
$this->assertOutputContains('CREATE TABLE public.posts');
5553
$this->assertOutputContains('COPY public.posts (id, title, created, modified) FROM stdin;');

0 commit comments

Comments
 (0)