Skip to content

Commit

Permalink
Fix some test
Browse files Browse the repository at this point in the history
  • Loading branch information
ohtejera committed Feb 15, 2015
1 parent 9fb2509 commit 388a731
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Binary file modified data/test.sqlite
Binary file not shown.
6 changes: 3 additions & 3 deletions test/integration/leaderboardIntegrationTest.php
Expand Up @@ -5,7 +5,7 @@
$service = new Web;

$baseUrl = "http://localhost/leaderboard";
$key = "lYjJt85sqai8pGqKm6NxbQ==";
$key = "m6WbwJ2WnYmMv5Wa";
$gameId = "test";
$player = "evariste";
$score = 1831;
Expand Down Expand Up @@ -118,8 +118,8 @@
);

$test->expect(
$lastRankResult->data->score == 1811,
sprintf($msg,'GetLastRank','Return value should be 1811')
$lastRankResult->data->score == 1831,
sprintf($msg,'GetLastRank','Return value should be 1831')
);

$test->expect(
Expand Down
2 changes: 1 addition & 1 deletion test/unit/sanidadTest.php
Expand Up @@ -48,7 +48,7 @@

// Method: antiCheat
$test->expect(
$sanidad->antiCheat("lYjJt85sqai8pGqKm6NxbQ==") == true,
$sanidad->antiCheat("m6WbwJ2WnYmMv5Wa") == true,
sprintf($msg,'antiCheat','Return value should be true')
);

Expand Down

0 comments on commit 388a731

Please sign in to comment.