Skip to content

Commit

Permalink
Remove Blade mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Jun 26, 2024
1 parent 6288483 commit 852cb99
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/framework/tests/Unit/IncludesFacadeUnitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,6 @@ public function testBladeReturnsRenderedPartial()

app()->instance(Filesystem::class, $filesystem);

Blade::shouldReceive('render')->with($content)->andReturn($expected);

$this->assertSame($expected, Includes::blade($filename));
}

Expand All @@ -184,8 +182,6 @@ public function testBladeWithAndWithoutExtension()

app()->instance(Filesystem::class, $filesystem);

Blade::shouldReceive('render')->with($content)->andReturn($expected);

$this->assertSame(Includes::blade('foo.blade.php'), Includes::blade('foo'));
}

Expand All @@ -200,8 +196,6 @@ public function testBladeReturnsDefaultValueWhenNotFound()

app()->instance(Filesystem::class, $filesystem);

Blade::shouldReceive('render')->with($default)->andReturn($expected);

$this->assertNull(Includes::blade($filename));
$this->assertSame($expected, Includes::blade($filename, $default));
}
Expand Down

0 comments on commit 852cb99

Please sign in to comment.