Skip to content

Commit

Permalink
Fix PHPUnit method
Browse files Browse the repository at this point in the history
  • Loading branch information
Propaganistas committed Sep 4, 2019
1 parent 3a0c707 commit c36aa99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Console/UpdateDisposableDomainsCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public function it_creates_the_file()
$this->artisan('disposable:update');

$this->assertFileExists($this->storagePath);
$this->assertStringContainsString('yopmail.com', file_get_contents($this->storagePath));
$this->assertRegexp('/yopmail.com/', file_get_contents($this->storagePath));
}

/** @test */
Expand All @@ -27,7 +27,7 @@ public function it_overwrites_the_file()
$this->assertFileExists($this->storagePath);

$contents = file_get_contents($this->storagePath);
$this->assertStringContainsString('yopmail.com', $contents);
$this->assertRegexp('/yopmail.com/', $contents);
$this->assertNotEquals('foo', $contents);
}

Expand Down

0 comments on commit c36aa99

Please sign in to comment.