fixed account create test

This commit is contained in:
Denis Duliçi 2020-06-17 13:44:31 +03:00
parent 36617de61f
commit e85b79b357

View File

@ -27,7 +27,7 @@ class AccountsTest extends FeatureTestCase
public function testItShouldCreateAccount()
{
$this->loginAs()
->post(route('accounts.index'), $this->getRequest())
->post(route('accounts.store'), $this->getRequest())
->assertStatus(200);
$this->assertFlashLevel('success');