Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Jan 15, 2024
1 parent d19f740 commit ba713ec
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 8 deletions.
4 changes: 4 additions & 0 deletions tests/Unit/CacheTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

use Illuminate\Support\Facades\Cache;

beforeEach(function () {
config('cache.default', 'array');
});

it('can detect when something gets cached', function () {
ray()->showCache();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"origin": {
"file": "\/tests\/Unit\/CacheTest.php",
"line_number": 8,
"line_number": 12,
"hostname": "fake-hostname"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"origin": {
"file": "\/tests\/Unit\/CacheTest.php",
"line_number": 52,
"line_number": 56,
"hostname": "fake-hostname"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"origin": {
"file": "\/tests\/Unit\/CacheTest.php",
"line_number": 60,
"line_number": 64,
"hostname": "fake-hostname"
}
}
Expand All @@ -37,7 +37,7 @@
},
"origin": {
"file": "\/tests\/Unit\/CacheTest.php",
"line_number": 62,
"line_number": 66,
"hostname": "fake-hostname"
}
}
Expand All @@ -58,7 +58,7 @@
},
"origin": {
"file": "\/tests\/Unit\/CacheTest.php",
"line_number": 62,
"line_number": 66,
"hostname": "fake-hostname"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"origin": {
"file": "\/tests\/Unit\/CacheTest.php",
"line_number": 34,
"line_number": 38,
"hostname": "fake-hostname"
}
}
Expand All @@ -36,7 +36,7 @@
},
"origin": {
"file": "\/tests\/Unit\/CacheTest.php",
"line_number": 36,
"line_number": 40,
"hostname": "fake-hostname"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"origin": {
"file": "\/tests\/Unit\/CacheTest.php",
"line_number": 44,
"line_number": 48,
"hostname": "fake-hostname"
}
}
Expand Down

0 comments on commit ba713ec

Please sign in to comment.