Fix account API tests.

This commit is contained in:
James Cole
2021-03-13 13:26:45 +01:00
parent 7118abe28d
commit bd040c80b2
5 changed files with 388 additions and 143 deletions

View File

@@ -172,7 +172,7 @@ class AccountUpdateService
*/
private function getAccountType(string $type): AccountType
{
return AccountType::whereType($type)->first();
return AccountType::whereType(ucfirst($type))->first();
}
/**