Created
March 22, 2019 17:56
-
-
Save mustafaaloko/e5de9cf8442a25e80ef358e4c367f674 to your computer and use it in GitHub Desktop.
Test with 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->assertCreated(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment