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

Challenge reply should be S2A_CHALLENGE

This commit is contained in:
Pavel Djundik
2015-10-24 22:42:45 +03:00
parent 082d7bb690
commit 85dd439369
+1 -1
View File
@@ -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() );