Skip to content

Commit

Permalink
Update how swagger is constructed in the test
Browse files Browse the repository at this point in the history
  • Loading branch information
cnizzardini committed Feb 25, 2024
1 parent 8e95439 commit d8d5cbb
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,9 @@ public function test_white_list(): void

public function test_false_white_list(): void
{
$swagger = (new SwaggerFactory($this->config, new RouteScanner(new Router(), $this->config)))->create();
$assoc = new OperationResponseAssociation(
(new SwaggerFactory($this->config, new RouteScanner($this->router, $this->config)))->create(),
$swagger,
$this->routes['employees:view'],
null
);
Expand Down

0 comments on commit d8d5cbb

Please sign in to comment.