138 - Upgrading to Laravel 5.5

This commit is contained in:
Adam Wathan
2017-09-11 16:24:01 -04:00
parent 4e00a17fa0
commit de0c35724f
5 changed files with 707 additions and 295 deletions

View File

@@ -49,7 +49,7 @@ class PurchaseTicketsTest extends TestCase
private function assertValidationError($field)
{
$this->assertResponseStatus(422);
$this->assertArrayHasKey($field, $this->decodeResponseJson());
$this->assertArrayHasKey($field, $this->decodeResponseJson()['errors']);
}
/** @test */