Commit cd7a7dbd authored by Benjamin Eberlei's avatar Benjamin Eberlei

Merge pull request #482 from deeky666/fix-schema-manager-test-cs

Fix some assertion and CS in schema manager functional tests
parents a7105d0d c72a9cb4
......@@ -98,8 +98,8 @@ class OracleSchemaManagerTest extends SchemaManagerFunctionalTestCase
$sm->dropAndCreateDatabase('c##test_create_database');
$databases = $this->_sm->listDatabases();
$databases = \array_map('strtolower', $databases);
$databases = array_map('strtolower', $databases);
$this->assertEquals(true, \in_array('c##test_create_database', $databases));
$this->assertContains('c##test_create_database', $databases);
}
}
......@@ -89,9 +89,9 @@ class SchemaManagerFunctionalTestCase extends \Doctrine\Tests\DbalFunctionalTest
$this->_sm->dropAndCreateDatabase('test_create_database');
$databases = $this->_sm->listDatabases();
$databases = \array_map('strtolower', $databases);
$databases = array_map('strtolower', $databases);
$this->assertEquals(true, \in_array('test_create_database', $databases));
$this->assertContains('test_create_database', $databases);
}
public function testListTables()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment