v2 first commit

This commit is contained in:
denisdulici
2019-11-16 10:21:14 +03:00
parent 5b23e9c2c4
commit 6d50fa8442
3075 changed files with 3451681 additions and 65594 deletions

View File

@ -27,8 +27,7 @@ class CurrenciesTest extends FeatureTestCase
{
$this->loginAs()
->post(route('currencies.store'), $this->getCurrencyRequest())
->assertStatus(302)
->assertRedirect(route('currencies.index'));
->assertStatus(200);
$this->assertFlashLevel('success');
}
@ -43,8 +42,7 @@ class CurrenciesTest extends FeatureTestCase
$this->loginAs()
->patch(route('currencies.update', $currency->id), $request)
->assertStatus(302)
->assertRedirect(route('currencies.index'));
->assertStatus(200);
$this->assertFlashLevel('success');
}
@ -55,8 +53,7 @@ class CurrenciesTest extends FeatureTestCase
$this->loginAs()
->delete(route('currencies.destroy', $currency->id))
->assertStatus(302)
->assertRedirect(route('currencies.index'));
->assertStatus(200);
$this->assertFlashLevel('success');
}