Commit 4dfc8f1f authored by František Bereň's avatar František Bereň Committed by lucasvanlierop

Update AbstractPostgreSqlPlatformTestCase.php

added literals off and on to the testcase
parent 46241ad6
...@@ -319,12 +319,14 @@ abstract class AbstractPostgreSqlPlatformTestCase extends AbstractPlatformTestCa ...@@ -319,12 +319,14 @@ abstract class AbstractPostgreSqlPlatformTestCase extends AbstractPlatformTestCa
$this->assertFalse($platform->convertFromBoolean('f')); $this->assertFalse($platform->convertFromBoolean('f'));
$this->assertFalse($platform->convertFromBoolean('no')); $this->assertFalse($platform->convertFromBoolean('no'));
$this->assertFalse($platform->convertFromBoolean('n')); $this->assertFalse($platform->convertFromBoolean('n'));
$this->assertFalse($platform->convertFromBoolean('off'));
$this->assertFalse($platform->convertFromBoolean('0')); $this->assertFalse($platform->convertFromBoolean('0'));
$this->assertTrue($platform->convertFromBoolean(true)); $this->assertTrue($platform->convertFromBoolean(true));
$this->assertTrue($platform->convertFromBoolean('true')); $this->assertTrue($platform->convertFromBoolean('true'));
$this->assertTrue($platform->convertFromBoolean('t')); $this->assertTrue($platform->convertFromBoolean('t'));
$this->assertTrue($platform->convertFromBoolean('yes')); $this->assertTrue($platform->convertFromBoolean('yes'));
$this->assertTrue($platform->convertFromBoolean('y')); $this->assertTrue($platform->convertFromBoolean('y'));
$this->assertTrue($platform->convertFromBoolean('on'));
$this->assertTrue($platform->convertFromBoolean('1')); $this->assertTrue($platform->convertFromBoolean('1'));
} }
......
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