Created
March 22, 2019 17:57
-
-
Save mustafaaloko/25051f7aa3883e94f6b396fff125fbd5 to your computer and use it in GitHub Desktop.
Test without Macro
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** @test */ | |
public function it_creates_a_user() | |
{ | |
$response = $this->json('POST', '/api/user', ['name' => 'Ahmad']); | |
$response->assertStatus(Response::HTTP_CREATED); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment