From d5b4ee3e8f214c8871638f6e2a9ded1b70b29d53 Mon Sep 17 00:00:00 2001 From: Lasse Rafn Date: Mon, 18 Sep 2017 14:26:34 +0200 Subject: [PATCH] Update DnsMasqTest.php .localhost default domain test --- tests/DnsMasqTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/DnsMasqTest.php b/tests/DnsMasqTest.php index 6dfc230..ec0ff2c 100644 --- a/tests/DnsMasqTest.php +++ b/tests/DnsMasqTest.php @@ -39,10 +39,10 @@ public function test_install_installs_and_places_configuration_files_in_proper_l $dnsMasq->configPath = __DIR__.'/output/dnsmasq.conf'; $dnsMasq->resolverPath = __DIR__.'/output/resolver'; - $dnsMasq->install('dev'); + $dnsMasq->install('localhost'); $this->assertSame('nameserver 127.0.0.1'.PHP_EOL, file_get_contents(__DIR__.'/output/resolver/dev')); - $this->assertSame('address=/.dev/127.0.0.1'.PHP_EOL, file_get_contents(__DIR__.'/output/custom-dnsmasq.conf')); + $this->assertSame('address=/.localhost/127.0.0.1'.PHP_EOL, file_get_contents(__DIR__.'/output/custom-dnsmasq.conf')); $this->assertSame('test-contents conf-file='.__DIR__.'/output/custom-dnsmasq.conf