3 years ago

Use laravel api test on slim project

Posted 3 years ago by ernestoponce

Hi people , i'm currently working in a project made with slim framework and i want to know if its possible to use the nice api test json that laravel uses , for example something like this

public function testBasicExample()
        $this->json('POST', '/user', ['name' => 'Sally'])
                 'created' => true,

i use by jeffrey for the integrated tests , but i saw that the section of the api only works on laravel projects . Any idea?

Please sign in or create an account to participate in this conversation.