Add more front-end controllers, language file cleanup
This commit is contained in:
parent
4532811fcd
commit
54554465f2
59 changed files with 1100 additions and 336 deletions
|
@ -149,7 +149,7 @@ class APIControllerTest extends TestCase
|
|||
|
||||
$response = $this->controller->store($this->request);
|
||||
$this->assertIsRedirectResponse($response);
|
||||
$this->assertRouteRedirectEquals('account.api', $response);
|
||||
$this->assertRedirectRouteEquals('account.api', $response);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -95,7 +95,7 @@ class AccountControllerTest extends TestCase
|
|||
|
||||
$response = $this->controller->update($this->request);
|
||||
$this->assertIsRedirectResponse($response);
|
||||
$this->assertRouteRedirectEquals('account', $response);
|
||||
$this->assertRedirectRouteEquals('account', $response);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -112,7 +112,7 @@ class AccountControllerTest extends TestCase
|
|||
|
||||
$response = $this->controller->update($this->request);
|
||||
$this->assertIsRedirectResponse($response);
|
||||
$this->assertRouteRedirectEquals('account', $response);
|
||||
$this->assertRedirectRouteEquals('account', $response);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -131,6 +131,6 @@ class AccountControllerTest extends TestCase
|
|||
|
||||
$response = $this->controller->update($this->request);
|
||||
$this->assertIsRedirectResponse($response);
|
||||
$this->assertRouteRedirectEquals('account', $response);
|
||||
$this->assertRedirectRouteEquals('account', $response);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -167,7 +167,7 @@ class SecurityControllerTest extends TestCase
|
|||
|
||||
$response = $this->controller->disableTotp($this->request);
|
||||
$this->assertIsRedirectResponse($response);
|
||||
$this->assertRouteRedirectEquals('account.security', $response);
|
||||
$this->assertRedirectRouteEquals('account.security', $response);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -186,7 +186,7 @@ class SecurityControllerTest extends TestCase
|
|||
|
||||
$response = $this->controller->disableTotp($this->request);
|
||||
$this->assertIsRedirectResponse($response);
|
||||
$this->assertRouteRedirectEquals('account.security', $response);
|
||||
$this->assertRedirectRouteEquals('account.security', $response);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -201,6 +201,6 @@ class SecurityControllerTest extends TestCase
|
|||
|
||||
$response = $this->controller->revoke($this->request, 123);
|
||||
$this->assertIsRedirectResponse($response);
|
||||
$this->assertRouteRedirectEquals('account.security', $response);
|
||||
$this->assertRedirectRouteEquals('account.security', $response);
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue