POST / PUT / DELETE Requests
POST / PUT / DELETE Requests
/**
* Test that the route /user/role returns 201
*
* @transaction auth
* @test
* @return void
*/
public function user_post_method_user_role_returns_201(): void
{
$this->actingAsAdmin()
->authenticate()
->post('/user/role', [
'organisation_id' => '1',
'access_id' => '1',
]);
}Last updated