Unverified Commit 19aec835 authored by Sergei Morozov's avatar Sergei Morozov Committed by GitHub

Merge pull request #3386 from deeky666/fix-sasql-createview-test

[SQL Anywhere] Fix view schema introspection test
parents 30720eec 2c6a85e3
...@@ -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