data = [ 'first_name' => $faker->firstName, 'last_name' => $faker->lastName, 'email' => $faker->unique()->safeEmail, 'password' => 'ALongAndBrilliantPassword123', '_token' => csrf_token() ]; // $this->user = CreateAccount::dispatchNow($data); } public function testAccountCreation() { $response = $this->post('/signup', $this->data); $this->assertEquals($response->json(), 'yadda'); //$response->assertSuccessful(); //$response->assertStatus(200); } public function testUserCreated() { $this->assertTrue(true); } }