Skip to content

Commit

Permalink
Mock DNS
Browse files Browse the repository at this point in the history
  • Loading branch information
bumbummen99 authored May 22, 2022
1 parent 29fd48b commit 5c439f9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/Protocols/Valheim.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ class Valheim extends Base
*/
public function testResponses($responses, $result)
{
\GameQ\Tests\MockDNS::mockHosts([
'alfheim.unovalegends.net' => '158.69.170.121'
]);

// Pull the first key off the array this is the server ip:port
$server = key($result);

Expand Down

0 comments on commit 5c439f9

Please sign in to comment.