Unverified Commit f9a03ad5 authored by Sergei Morozov's avatar Sergei Morozov

Merge branch 'bpo/2.9/#3386' into 2.9

parents 5ba6ca73 2a4ae2c3
...@@ -24,7 +24,7 @@ class SQLAnywhereSchemaManagerTest extends SchemaManagerFunctionalTestCase ...@@ -24,7 +24,7 @@ class SQLAnywhereSchemaManagerTest extends SchemaManagerFunctionalTestCase
self::assertCount(1, $views, 'Database has to have one view.'); self::assertCount(1, $views, 'Database has to have one view.');
self::assertInstanceOf(View::class, $views[$name]); self::assertInstanceOf(View::class, $views[$name]);
self::assertEquals($name, $views[$name]->getName()); self::assertEquals($name, $views[$name]->getName());
self::assertEquals($sql, $views[$name]->getSql()); self::assertRegExp('/^SELECT \* from "?DBA"?\."?view_test_table"?$/', $views[$name]->getSql());
} }
public function testDropAndCreateAdvancedIndex() public function testDropAndCreateAdvancedIndex()
......
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