Skip to content

Commit

Permalink
Fix potential bug in build test
Browse files Browse the repository at this point in the history
  • Loading branch information
Pyker committed May 18, 2022
1 parent 9c455b4 commit 80bc0f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Unit/BuildTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public function test_build_edit_post()
];

$response = $this->post('/modpack/build/'.$build->id.'?action=edit', $data);
$response->assertRedirect('/modpack/build/1');
$response->assertRedirect('/modpack/build/'.$build->id);

$build = Build::find(1);

Expand Down

0 comments on commit 80bc0f8

Please sign in to comment.