Skip to content

Commit f120f2c

Browse files
committed
Different file for testing
1 parent b0812f4 commit f120f2c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/MiddlewareAndComponentTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ public function code_contents_can_be_a_file()
147147
$this->getView('contents-via-file.blade.php');
148148

149149
Http::assertSent(function ($request) {
150-
return $request['blocks'][0]['code'] === rtrim(file_get_contents(base_path('server.php'), '\n'));
150+
return $request['blocks'][0]['code'] === rtrim(file_get_contents(config_path('app.php'), '\n'));
151151
});
152152
}
153153
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<x-torchlight-code torchlight-id='tl-id' language='php' :contents='base_path("server.php")'/>
1+
<x-torchlight-code torchlight-id='tl-id' language='php' :contents='config_path("app.php")'/>

0 commit comments

Comments
 (0)