Add more front-end controllers, language file cleanup

This commit is contained in:
Dane Everitt
2017-09-03 16:32:52 -05:00
parent 4532811fcd
commit 54554465f2
59 changed files with 1100 additions and 336 deletions

View File

@@ -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);
}
/**

View File

@@ -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);
}
}

View File

@@ -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);
}
}