From 85dd439369c950f240db53d8c75420186fce84e6 Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Sat, 24 Oct 2015 22:42:45 +0300 Subject: [PATCH] Challenge reply should be S2A_CHALLENGE --- Tests/Tests.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/Tests.php b/Tests/Tests.php index eff3a3f..6740d69 100644 --- a/Tests/Tests.php +++ b/Tests/Tests.php @@ -248,7 +248,7 @@ public function testGetChallengeTwice( ) { - $this->Socket->Queue( "\xFF\xFF\xFF\xFF" . SourceQuery::S2A_RULES . "\x11\x11\x11\x11" ); + $this->Socket->Queue( "\xFF\xFF\xFF\xFF" . SourceQuery::S2A_CHALLENGE . "\x11\x11\x11\x11" ); $this->Socket->Queue( "\xFF\xFF\xFF\xFF" . SourceQuery::S2A_RULES . "\x01\x00ayy\x00lmao\x00" ); $this->assertEquals( [ 'ayy' => 'lmao' ], $this->SourceQuery->GetPlayers() );