mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-17 15:18:05 +00:00
Make tests compatible with laravel 5.4
This commit is contained in:
@@ -37,7 +37,7 @@ class PreferencesControllerTest extends TestCase
|
||||
$response->assertStatus(302);
|
||||
$response->assertSessionHas('success');
|
||||
$response->assertSessionHas('info');
|
||||
$this->assertRedirectedToRoute('preferences.index');
|
||||
$response->assertRedirect(route('preferences.index'));
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -72,7 +72,7 @@ class PreferencesControllerTest extends TestCase
|
||||
$response = $this->post(route('preferences.update'), $data);
|
||||
$response->assertStatus(302);
|
||||
$response->assertSessionHas('success');
|
||||
$this->assertRedirectedToRoute('preferences.index');
|
||||
$response->assertRedirect(route('preferences.index'));
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user