Commit d43753d5 authored by Mohammad Javad Ghasemy's avatar Mohammad Javad Ghasemy 🦈

a little test

parent d970cae8
<?php
namespace Tests\Feature;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Illuminate\Foundation\Testing\WithFaker;
use Tests\TestCase;
class BookControllerTest extends TestCase
{
/**
* A basic feature test example.
*
* @return void
*/
public function testSetData()
{
$response = $this->postJson('/api/books/', ["isbn" => "964-5600-97-4"]);
$response->assertStatus(200);
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment