Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SerafimArts committed Sep 29, 2024
1 parent 49e21e1 commit 711a28e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
pull_request:
schedule:
- cron: '0 0 * * *'
- cron: '0 0 * * 0'

jobs:
security:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
pull_request:
schedule:
- cron: '0 0 * * *'
- cron: '0 0 * * 0'

jobs:
tests:
Expand Down
4 changes: 3 additions & 1 deletion tests/Unit/SimplePrintTypesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,9 @@ public static function prettyPrintableTypesDataProvider(): iterable
#[DataProvider('prettyPrintableTypesDataProvider')]
public function testPrettyPrinting(TypeStatement $stmt, string $expected): void
{
$printer = new PrettyPrinter();
$printer = new PrettyPrinter(
wrapUnionType: false,
);
self::assertSame($expected, $printer->print($stmt));
}
Expand Down

0 comments on commit 711a28e

Please sign in to comment.