Created
January 3, 2022 07:19
-
-
Save VusalGhasanov/9f63c616bfbd4030a355cbdac8833aae to your computer and use it in GitHub Desktop.
Testing customer store
This file contains 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 | |
namespace Tests\Feature; | |
use Tests\TestCase; | |
class CustomerStoreTest extends TestCase | |
{ | |
/** | |
* A basic functional test example. | |
* | |
* @return void | |
*/ | |
public function test_interacting_with_headers() | |
{ | |
$response = $this->post('/customers', ['name' => 'Vusal', 'email' => 'vusal.ghasanov@gmail.com']); | |
$response->assertStatus(200); | |
$response->dump(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment