From 388a731b113613516b2c02bd86788b305a56fd53 Mon Sep 17 00:00:00 2001 From: Henry Tejera Date: Sun, 15 Feb 2015 16:08:47 -0200 Subject: [PATCH] Fix some test --- data/test.sqlite | Bin 4096 -> 4096 bytes .../leaderboardIntegrationTest.php | 6 +++--- test/unit/sanidadTest.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/data/test.sqlite b/data/test.sqlite index cbf89b162096f81e164d13bd30dc0d51ba1e30f8..077fd5b089624c1b45bf2e3c80669a6686fd4c5d 100755 GIT binary patch delta 81 zcmZorXi%6S&1g7L#+lJ@V}d)oh`N!1p{cHck*=Ysf}w?#fq|8w$>!bc-Yjgd8JJ%) l-`y<8agllQU4A}MVMb;K-CVQqq;fB#@Vv-e-!jwiL;zWJ78w8l delta 81 zcmZorXi%6S&B!rP#+i|0V}d)oh_I1?p{cHcp{|jMf}w?#siBpj<>uY&-Yjg78JHh4 l-`y<8agllQU4A}MuM!K>;=;sCivssT?_4v#iljhWTL4)67Wn`G diff --git a/test/integration/leaderboardIntegrationTest.php b/test/integration/leaderboardIntegrationTest.php index c308629..b66a205 100644 --- a/test/integration/leaderboardIntegrationTest.php +++ b/test/integration/leaderboardIntegrationTest.php @@ -5,7 +5,7 @@ $service = new Web; $baseUrl = "http://localhost/leaderboard"; -$key = "lYjJt85sqai8pGqKm6NxbQ=="; +$key = "m6WbwJ2WnYmMv5Wa"; $gameId = "test"; $player = "evariste"; $score = 1831; @@ -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( diff --git a/test/unit/sanidadTest.php b/test/unit/sanidadTest.php index ea4e6b7..ca7c28d 100644 --- a/test/unit/sanidadTest.php +++ b/test/unit/sanidadTest.php @@ -48,7 +48,7 @@ // Method: antiCheat $test->expect( - $sanidad->antiCheat("lYjJt85sqai8pGqKm6NxbQ==") == true, + $sanidad->antiCheat("m6WbwJ2WnYmMv5Wa") == true, sprintf($msg,'antiCheat','Return value should be true') );