Skip to content

Commit

Permalink
trying to fix permission tests
Browse files Browse the repository at this point in the history
  • Loading branch information
et-nik committed May 26, 2024
1 parent 1bec79c commit 6a411bd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function setUp(): void
public function routesDataProvider()
{
return [
['api.servers.store'],
['api.servers.store', []],
['api.servers.save', ['server' => $this->server->id]],
['api.servers.destroy', ['server' => $this->server->id]],
];
Expand Down Expand Up @@ -76,7 +76,7 @@ public function userRoutesDataProvider()
];
}

public function testForbiddenForUser(string $method, string $route, array $params = [])
public function testForbiddenForUser()
{
$this->setCurrentUserRoles(['user']);

Expand Down

0 comments on commit 6a411bd

Please sign in to comment.