Commit c72a9cb4 authored by Steve Müller's avatar Steve Müller

fix some assertion and CS in schema manager functional tests

parent 9ec63e25
...@@ -98,8 +98,8 @@ class OracleSchemaManagerTest extends SchemaManagerFunctionalTestCase ...@@ -98,8 +98,8 @@ class OracleSchemaManagerTest extends SchemaManagerFunctionalTestCase
$sm->dropAndCreateDatabase('c##test_create_database'); $sm->dropAndCreateDatabase('c##test_create_database');
$databases = $this->_sm->listDatabases(); $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 ...@@ -89,9 +89,9 @@ class SchemaManagerFunctionalTestCase extends \Doctrine\Tests\DbalFunctionalTest
$this->_sm->dropAndCreateDatabase('test_create_database'); $this->_sm->dropAndCreateDatabase('test_create_database');
$databases = $this->_sm->listDatabases(); $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() 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