Permalink
Browse files

Use local db to test hasDatabase

  • Loading branch information...
1 parent 1e96768 commit ec5a437f1e99ee95a47515439f65a86c5029a33f @bcrowe bcrowe committed Nov 17, 2015
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/ConnectionTests.php
@@ -46,7 +46,7 @@ public function testReconnectonnect()
public function testHasDatabase()
{
$this->assertFalse($this->connection->hasDatabase('__unknown__database__'));
- $this->assertTrue($this->connection->hasDatabase('admin'));
+ $this->assertTrue($this->connection->hasDatabase('local'));
}
public function testDatabaseDefaultServer()
@@ -68,7 +68,7 @@ public function testListDatabases()
$list = $this->connection->listDatabases();
$this->assertInternalType('array', $list);
- $this->assertContains('admin', $list);
+ $this->assertContains('local', $list);
$list = $this->connection->listDatabases(true);
$this->assertInternalType('array', $list);

0 comments on commit ec5a437

Please sign in to comment.