Skip to content

Commit

Permalink
#109 Tests for OnMoon\OpenApiServerBundle\CodeGenerator\PhpParserGene…
Browse files Browse the repository at this point in the history
…rators\DtoCodeGenerator
  • Loading branch information
Alex2k committed Aug 27, 2020
1 parent 61c50f0 commit 0244c18
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ public function testGenerate(array $payload, string $expected): void
Assert::assertSame($definition, $generatedFileDefinition->getClass());
Assert::assertSame(
$expected,
preg_replace('/\r\n|\r|\n/', PHP_EOL, $generatedFileDefinition->getFileContents())
preg_replace('/\r\n/', PHP_EOL, $generatedFileDefinition->getFileContents())
);
}

Expand Down

0 comments on commit 0244c18

Please sign in to comment.