Skip to content

Commit

Permalink
Update CommonMarkCompilerTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell committed Mar 17, 2024
1 parent fe94da4 commit d594fc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/View/Compiler/CommonMarkCompilerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function testCompile(): void
$files = Mockery::mock(Filesystem::class);
$files->shouldReceive('get')->once()->with('path')->andReturn('markdown');

if (10 === (int) Application::VERSION) {
if (((int) Application::VERSION) >= 10) {
$files->shouldReceive('put')->once()->with(__DIR__.'/b5ee0bc34d1063d878b5fea7206bb2f5.php', 'html');
} else {
$files->shouldReceive('put')->once()->with(__DIR__.'/e13dbc54cb72a29f66053c494f2c456242d1fefa.php', 'html');
Expand Down

0 comments on commit d594fc1

Please sign in to comment.