Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
UFOMelkor committed Dec 23, 2014
1 parent 3baf183 commit f169713
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/MySQLTest/MySQLiIntegrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,9 @@ public function testShouldKnowTheNumberOfRowsFromAQueryResult()

public function testShouldProvideStats()
{
$this->assertSame(mysql_stat(self::$mysqlLink), Proxy::stat(self::$link));
$expectedStats = mysql_stat(self::$mysqlLink);
$expectedStats = substr($expectedStats, 0, strrpos($expectedStats, ':'));
$this->assertStringStartsWith($expectedStats, Proxy::stat(self::$link));
}

public function testShouldPingToTheServer()
Expand Down

0 comments on commit f169713

Please sign in to comment.