@ -49,7 +49,7 @@ class RoleTest extends TestCase {
$response = $this->withHeader('Authorization', 'Bearer '.$this->token)
$response = $this->withHeader('Authorization', 'Bearer '.$this->token)
->put('/api/roles/4', [
->put('/api/roles/4', [
'name'=>'Chief Editor',
'name' => 'Chief Editor',
]);
]);
$response
$response
@ -72,7 +72,7 @@ class RoleTest extends TestCase {
$response = $this->withHeader('Authorization', 'Bearer '.$this->token)
$response = $this->withHeader('Authorization', 'Bearer '.$this->token)
->put('/api/roles/4', [
->put('/api/roles/4', [
'slug'=>'chief-editor',
'slug' => 'chief-editor',
]);
]);
$response
$response
@ -95,8 +95,8 @@ class RoleTest extends TestCase {
$response = $this->withHeader('Authorization', 'Bearer '.$this->token)
$response = $this->withHeader('Authorization', 'Bearer '.$this->token)
->put('/api/roles/4', [
->put('/api/roles/4', [
'name'=>'Editor X',
'name' => 'Editor X',
'slug'=>'editor-x',
'slug' => 'editor-x',
]);
]);
$response
$response
@ -120,7 +120,7 @@ class RoleTest extends TestCase {
$response = $this->withHeader('Authorization', 'Bearer '.$this->token)
$response = $this->withHeader('Authorization', 'Bearer '.$this->token)
->put('/api/roles/1', [
->put('/api/roles/1', [
'slug'=>'admin-x',
'slug' => 'admin-x',
]);
]);
$response
$response
@ -143,8 +143,8 @@ class RoleTest extends TestCase {
$response = $this->withHeader('Authorization', 'Bearer '.$this->token)
$response = $this->withHeader('Authorization', 'Bearer '.$this->token)
->post('/api/roles', [
->post('/api/roles', [
'name'=>'New Role',
'name' => 'New Role',
'slug'=>'new-role',
'slug' => 'new-role',
]);
]);
$response
$response
@ -168,8 +168,8 @@ class RoleTest extends TestCase {
$response = $this->withHeader('Authorization', 'Bearer '.$this->token)
$response = $this->withHeader('Authorization', 'Bearer '.$this->token)
->post('/api/roles', [
->post('/api/roles', [
'name'=>'New Role',
'name' => 'New Role',
'slug'=>'new-role',
'slug' => 'new-role',
]);
]);
$response
$response