Skip to content

Commit

Permalink
useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
sdebacker committed Jun 18, 2014
1 parent 005e364 commit 80904bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/tests/NewsControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function testAdminIndex()

public function testStoreFails()
{
Input::replace($input = ['date' => '']); // 19.02.2014 11:04
$input = ['date' => ''];
$this->call('POST', 'admin/news', $input);
$this->assertRedirectedToRoute('admin.news.create');
$this->assertSessionHasErrors(['date']);
Expand Down
2 changes: 1 addition & 1 deletion app/tests/PlacesControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function testAdminIndex()

public function testStoreFails()
{
Input::replace($input = ['title' => '', 'slug' => '']); // 19.02.2014 11:04
$input = ['title' => '', 'slug' => '']; // 19.02.2014 11:04
$this->call('POST', 'admin/places', $input);
$this->assertRedirectedToRoute('admin.places.create');
$this->assertSessionHasErrors();
Expand Down

0 comments on commit 80904bd

Please sign in to comment.