File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 3
3
namespace BlameButton \Laravel \Changelog \Tests ;
4
4
5
5
use BlameButton \Laravel \Changelog \Changelog ;
6
- use BlameButton \Laravel \Changelog \ChangelogFacade ;
7
6
use BlameButton \Laravel \Changelog \ChangelogServiceProvider ;
8
7
use Illuminate \Support \Facades \Storage ;
9
8
use Mockery \MockInterface ;
@@ -32,9 +31,9 @@ public function testRaw(): void
32
31
Storage::put (base_path ('CHANGELOG.md ' ), $ expected );
33
32
34
33
/** @var Changelog $changelog */
35
- $ changelog = $ this ->mock (Changelog::class, function (MockInterface $ mock ) {
36
- $ mock ->shouldReceive ('path ' )->andReturn (Storage::path (base_path ('CHANGELOG.md ' )));
37
- $ mock ->shouldReceive ('raw ' )->passthru ();
34
+ $ changelog = $ this ->mock (Changelog::class, function (MockInterface $ mock ) {
35
+ $ mock ->shouldReceive ('path ' )->andReturn (Storage::path (base_path ('CHANGELOG.md ' )));
36
+ $ mock ->shouldReceive ('raw ' )->passthru ();
38
37
});
39
38
40
39
$ content = $ changelog ->raw ();
You can’t perform that action at this time.
0 commit comments