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() );