1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-06 00:40:06 +01:00

Use assertFileExists and assertFileNotExists (#75)

This commit is contained in:
Lucas Michot
2016-05-27 17:36:40 +02:00
committed by Taylor Otwell
parent b08c76e007
commit 05b870b484
5 changed files with 14 additions and 14 deletions

View File

@@ -41,9 +41,9 @@ public function test_install_installs_and_places_configuration_files_in_proper_l
$dnsMasq->install('dev');
$this->assertEquals('nameserver 127.0.0.1'.PHP_EOL, file_get_contents(__DIR__.'/output/resolver/dev'));
$this->assertEquals('address=/.dev/127.0.0.1'.PHP_EOL, file_get_contents(__DIR__.'/output/custom-dnsmasq.conf'));
$this->assertEquals('test-contents
$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('test-contents
conf-file='.__DIR__.'/output/custom-dnsmasq.conf
', file_get_contents(__DIR__.'/output/dnsmasq.conf'));