@@ -56,9 +56,9 @@ abstract class AbstractMySQLPlatformTestCase extends AbstractPlatformTestCase
publicfunctiontestGeneratesSqlSnippets():void
{
self::assertEquals('RLIKE',$this->platform->getRegexpExpression(),'Regular expression operator is not correct');
self::assertEquals('`',$this->platform->getIdentifierQuoteCharacter(),'Quote character is not correct');
self::assertEquals('CONCAT(column1, column2, column3)',$this->platform->getConcatExpression('column1','column2','column3'),'Concatenation function is not correct');
@@ -148,11 +148,11 @@ abstract class AbstractPostgreSqlPlatformTestCase extends AbstractPlatformTestCa
publicfunctiontestGeneratesSqlSnippets():void
{
self::assertEquals('SIMILAR TO',$this->platform->getRegexpExpression(),'Regular expression operator is not correct');
self::assertEquals('"',$this->platform->getIdentifierQuoteCharacter(),'Identifier quote character is not correct');
self::assertEquals('column1 || column2 || column3',$this->platform->getConcatExpression('column1','column2','column3'),'Concatenation expression is not correct');
self::assertEquals('SUBSTRING(column FROM 5)',$this->platform->getSubstringExpression('column',5),'Substring expression without length is not correct');
self::assertEquals('SUBSTRING(column FROM 1 FOR 5)',$this->platform->getSubstringExpression('column',1,5),'Substring expression with length is not correct');
self::assertEquals('"',$this->platform->getIdentifierQuoteCharacter(),'Identifier quote character is not correct');
self::assertEquals('(column1 + column2 + column3)',$this->platform->getConcatExpression('column1','column2','column3'),'Concatenation expression is not correct');
self::assertEquals('"',$this->platform->getIdentifierQuoteCharacter(),'Identifier quote character is not correct');
self::assertEquals('column1 || column2 || column3',$this->platform->getConcatExpression('column1','column2','column3'),'Concatenation expression is not correct');
@@ -42,9 +42,9 @@ class SqlitePlatformTest extends AbstractPlatformTestCase
publicfunctiontestGeneratesSqlSnippets():void
{
self::assertEquals('REGEXP',$this->platform->getRegexpExpression(),'Regular expression operator is not correct');
self::assertEquals('SUBSTR(column, 5, LENGTH(column))',$this->platform->getSubstringExpression('column',5),'Substring expression without length is not correct');
self::assertEquals('SUBSTR(column, 0, 5)',$this->platform->getSubstringExpression('column',0,5),'Substring expression with length is not correct');