mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-01-13 23:18:10 +00:00
This commit is contained in:
parent
a88e72b75e
commit
ba3bf31bb7
29 changed files with 2379 additions and 215 deletions
|
|
@ -10,6 +10,12 @@ uses(Illuminate\Foundation\Testing\RefreshDatabase::class);
|
|||
beforeEach(function () {
|
||||
Storage::fake('public');
|
||||
Storage::disk('public')->makeDirectory('/images/generated');
|
||||
Http::preventStrayRequests();
|
||||
Http::fake([
|
||||
'https://example.com/test-image.bmp*' => Http::response([], 200),
|
||||
'https://trmnl.app/api/log' => Http::response([], 200),
|
||||
'https://example.com/api/log' => Http::response([], 200),
|
||||
]);
|
||||
});
|
||||
|
||||
test('it fetches and processes proxy cloud responses for devices', function () {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue