From 4073003d279aa0f1b2156bb5b9aa88de3ea44dfb Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Sat, 24 Oct 2015 22:50:31 +0300 Subject: [PATCH] Don't use consts --- Tests/Tests.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/Tests.php b/Tests/Tests.php index ad81659..6f5bb56 100644 --- a/Tests/Tests.php +++ b/Tests/Tests.php @@ -214,7 +214,7 @@ */ public function testBadGetPlayersAfterCorrectChallenge( $Data ) { - $this->Socket->Queue( "\xFF\xFF\xFF\xFF" . SourceQuery::S2A_PLAYER . "\x11\x11\x11\x11" ); + $this->Socket->Queue( "\xFF\xFF\xFF\xFF\x41\x11\x11\x11\x11" ); $this->Socket->Queue( $Data ); $this->SourceQuery->GetPlayers(); @@ -226,7 +226,7 @@ */ public function testBadGetRulesAfterCorrectChallenge( $Data ) { - $this->Socket->Queue( "\xFF\xFF\xFF\xFF" . SourceQuery::S2A_RULES . "\x11\x11\x11\x11" ); + $this->Socket->Queue( "\xFF\xFF\xFF\xFF\x41\x11\x11\x11\x11" ); $this->Socket->Queue( $Data ); $this->SourceQuery->GetRules();