Permalink
Browse files

hack - okay, don't want bool but at least 0/1 number

  • Loading branch information...
1 parent 52feea6 commit e7966835f49797e88c4474b7011be9355bfa830f @juzna committed Oct 8, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/Nette/Database/normalize.phpt
@@ -17,8 +17,8 @@ Nette\Database\Helpers::loadFromFile($connection, __DIR__ . "/{$driverName}-nett
$res = $connection->query("SELECT * FROM bittest");
$row = $res->fetch();
Assert::same(0, $row->id);
-Assert::same(false, $row->flag);
+Assert::same("0", $row->flag);
$row = $res->fetch();
Assert::same(1, $row->id);
-Assert::same(true, $row->flag);
+Assert::same("1", $row->flag);

0 comments on commit e796683

Please sign in to comment.