Skip to content

Commit 19d0c91

Browse files
authored
Fix test (#12)
1 parent 22059a9 commit 19d0c91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: Tests/Generator/GeneratorTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ protected function setUp(): void
4444
$this->filesystem->dumpFile($this->docsFile, '');
4545
$this->filesystem->dumpFile($this->specificationFile, '');
4646

47-
$this->generator = new Generator($this->twig, $this->parser, $this->docsFolder);
47+
$this->generator = new Generator($this->twig, $this->parser, $this->docsFolder, 'custom.html.twig');
4848
}
4949

5050
protected function tearDown(): void
@@ -73,7 +73,7 @@ public function testGenerate(): void
7373
$this->twig
7474
->expects(self::once())
7575
->method('render')
76-
->with('@Swagger/SwaggerUi/index.html.twig', ['swagger_data' => $swaggerConfig])
76+
->with('custom.html.twig', ['swagger_data' => $swaggerConfig])
7777
->willReturn($docs)
7878
;
7979

0 commit comments

Comments
 (0)