Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
ntoenk1186 committed Sep 8, 2016
1 parent 64bbe2a commit 0ef7f85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/IndexTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public function testIndex() {
public function testRequestGetNotExistShortUrl() {
$response = $this->call('GET', '/notexist');
$this->assertTrue($response->isRedirection());
$this->assertRedirectedTo(env('SETTING_NOT_EXIST_REDIRECT'));
$this->assertRedirectedTo(env('SETTING_INDEX_REDIRECT'));
}
}

0 comments on commit 0ef7f85

Please sign in to comment.