Skip to content

Commit 0db19e0

Browse files
committed
Test for non-empty collation
1 parent a329ddc commit 0db19e0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Tests/DriverPgsqlTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ public function testGetAffectedRows()
221221
*/
222222
public function testGetCollation()
223223
{
224-
$this->assertContains('UTF-8', self::$driver->getCollation(), __LINE__);
224+
$this->assertNotEmpty(self::$driver->getCollation(), __LINE__);
225225
}
226226

227227
/**

Tests/DriverPostgresqlTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ public function testGetAffectedRows()
221221
*/
222222
public function testGetCollation()
223223
{
224-
$this->assertContains('UTF-8', self::$driver->getCollation(), __LINE__);
224+
$this->assertNotEmpty(self::$driver->getCollation(), __LINE__);
225225
}
226226

227227
/**

0 commit comments

Comments
 (0)