1
0
mirror of https://github.com/xPaw/PHP-Source-Query.git synced 2026-05-18 13:53:35 +02:00

Don't use consts

This commit is contained in:
Pavel Djundik
2015-10-24 22:50:31 +03:00
parent d6ce30970e
commit 4073003d27
+2 -2
View File
@@ -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();