@@ -26,7 +26,7 @@ public function testCacheIsEmptyBeforeLoadingModels()
26
26
'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesauthor ' ,
27
27
'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesbook '
28
28
])
29
- ->get ('genealabs:laravel-model-caching:testing::memory::authors:genealabslaravelmodelcachingtestsfixturesauthor-books ' );
29
+ ->get ('genealabs:laravel-model-caching:testing::memory::authors:genealabslaravelmodelcachingtestsfixturesauthor-testing::memory:: books ' );
30
30
31
31
$ this ->assertNull ($ results );
32
32
}
@@ -39,7 +39,7 @@ public function testCacheIsNotEmptyAfterLoadingModels()
39
39
'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesauthor ' ,
40
40
'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesbook '
41
41
])
42
- ->get (sha1 ('genealabs:laravel-model-caching:testing::memory::authors:genealabslaravelmodelcachingtestsfixturesauthor-books ' ));
42
+ ->get (sha1 ('genealabs:laravel-model-caching:testing::memory::authors:genealabslaravelmodelcachingtestsfixturesauthor-testing::memory:: books ' ));
43
43
44
44
$ this ->assertNotNull ($ results );
45
45
}
@@ -105,7 +105,7 @@ public function testHasManyRelationshipIsCached()
105
105
'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesauthor ' ,
106
106
'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesbook '
107
107
])
108
- ->get (sha1 ("genealabs:laravel-model-caching:testing::memory::authors:genealabslaravelmodelcachingtestsfixturesauthor-books " ))['value ' ]);
108
+ ->get (sha1 ("genealabs:laravel-model-caching:testing::memory::authors:genealabslaravelmodelcachingtestsfixturesauthor-testing::memory:: books " ))['value ' ]);
109
109
110
110
$ this ->assertNotNull ($ results );
111
111
$ this ->assertEmpty ($ authors ->diffKeys ($ results ));
@@ -122,7 +122,7 @@ public function testBelongsToRelationshipIsCached()
122
122
'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesbook ' ,
123
123
'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesauthor '
124
124
])
125
- ->get (sha1 ("genealabs:laravel-model-caching:testing::memory::books:genealabslaravelmodelcachingtestsfixturesbook-author " ))['value ' ]);
125
+ ->get (sha1 ("genealabs:laravel-model-caching:testing::memory::books:genealabslaravelmodelcachingtestsfixturesbook-testing::memory:: author " ))['value ' ]);
126
126
127
127
$ this ->assertNotNull ($ results );
128
128
$ this ->assertEmpty ($ books ->diffKeys ($ results ));
@@ -139,7 +139,7 @@ public function testBelongsToManyRelationshipIsCached()
139
139
'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesbook ' ,
140
140
'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesstore '
141
141
])
142
- ->get (sha1 ("genealabs:laravel-model-caching:testing::memory::books:genealabslaravelmodelcachingtestsfixturesbook-stores " ))['value ' ]);
142
+ ->get (sha1 ("genealabs:laravel-model-caching:testing::memory::books:genealabslaravelmodelcachingtestsfixturesbook-testing::memory:: stores " ))['value ' ]);
143
143
144
144
$ this ->assertNotNull ($ results );
145
145
$ this ->assertEmpty ($ books ->diffKeys ($ results ));
@@ -157,7 +157,7 @@ public function testHasOneRelationshipIsCached()
157
157
'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesauthor ' ,
158
158
'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesprofile '
159
159
])
160
- ->get (sha1 ("genealabs:laravel-model-caching:testing::memory::authors:genealabslaravelmodelcachingtestsfixturesauthor-profile " ))['value ' ]);
160
+ ->get (sha1 ("genealabs:laravel-model-caching:testing::memory::authors:genealabslaravelmodelcachingtestsfixturesauthor-testing::memory:: profile " ))['value ' ]);
161
161
162
162
$ this ->assertNotNull ($ results );
163
163
$ this ->assertEmpty ($ authors ->diffKeys ($ results ));
@@ -170,7 +170,7 @@ public function testAvgModelResultsCreatesCache()
170
170
{
171
171
$ authorId = (new Author )->with ('books ' , 'profile ' )
172
172
->avg ('id ' );
173
- $ key = sha1 ('genealabs:laravel-model-caching:testing::memory::authors:genealabslaravelmodelcachingtestsfixturesauthor-books-profile-avg_id ' );
173
+ $ key = sha1 ('genealabs:laravel-model-caching:testing::memory::authors:genealabslaravelmodelcachingtestsfixturesauthor-testing::memory:: books-testing::memory:: profile-avg_id ' );
174
174
$ tags = [
175
175
'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesauthor ' ,
176
176
'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesbook ' ,
@@ -224,7 +224,7 @@ public function testCountModelResultsCreatesCache()
224
224
$ authors = (new Author )
225
225
->with ('books ' , 'profile ' )
226
226
->count ();
227
- $ key = sha1 ('genealabs:laravel-model-caching:testing::memory::authors:genealabslaravelmodelcachingtestsfixturesauthor-books-profile-count ' );
227
+ $ key = sha1 ('genealabs:laravel-model-caching:testing::memory::authors:genealabslaravelmodelcachingtestsfixturesauthor-testing::memory:: books-testing::memory:: profile-count ' );
228
228
$ tags = [
229
229
'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesauthor ' ,
230
230
'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesbook ' ,
@@ -246,7 +246,7 @@ public function testCountWithStringCreatesCache()
246
246
$ authors = (new Author )
247
247
->with ('books ' , 'profile ' )
248
248
->count ("id " );
249
- $ key = sha1 ('genealabs:laravel-model-caching:testing::memory::authors:genealabslaravelmodelcachingtestsfixturesauthor_id-books-profile-count ' );
249
+ $ key = sha1 ('genealabs:laravel-model-caching:testing::memory::authors:genealabslaravelmodelcachingtestsfixturesauthor_id-testing::memory:: books-testing::memory:: profile-count ' );
250
250
$ tags = [
251
251
'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesauthor ' ,
252
252
'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesbook ' ,
@@ -287,7 +287,7 @@ public function testMaxModelResultsCreatesCache()
287
287
{
288
288
$ authorId = (new Author )->with ('books ' , 'profile ' )
289
289
->max ('id ' );
290
- $ key = sha1 ('genealabs:laravel-model-caching:testing::memory::authors:genealabslaravelmodelcachingtestsfixturesauthor-books-profile-max_id ' );
290
+ $ key = sha1 ('genealabs:laravel-model-caching:testing::memory::authors:genealabslaravelmodelcachingtestsfixturesauthor-testing::memory:: books-testing::memory:: profile-max_id ' );
291
291
$ tags = [
292
292
'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesauthor ' ,
293
293
'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesbook ' ,
@@ -307,7 +307,7 @@ public function testMinModelResultsCreatesCache()
307
307
{
308
308
$ authorId = (new Author )->with ('books ' , 'profile ' )
309
309
->min ('id ' );
310
- $ key = sha1 ('genealabs:laravel-model-caching:testing::memory::authors:genealabslaravelmodelcachingtestsfixturesauthor-books-profile-min_id ' );
310
+ $ key = sha1 ('genealabs:laravel-model-caching:testing::memory::authors:genealabslaravelmodelcachingtestsfixturesauthor-testing::memory:: books-testing::memory:: profile-min_id ' );
311
311
$ tags = [
312
312
'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesauthor ' ,
313
313
'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesbook ' ,
@@ -327,7 +327,7 @@ public function testPluckModelResultsCreatesCache()
327
327
{
328
328
$ authors = (new Author )->with ('books ' , 'profile ' )
329
329
->pluck ('name ' , 'id ' );
330
- $ key = sha1 ('genealabs:laravel-model-caching:testing::memory::authors:genealabslaravelmodelcachingtestsfixturesauthor_name-books-profile-pluck_name_id ' );
330
+ $ key = sha1 ('genealabs:laravel-model-caching:testing::memory::authors:genealabslaravelmodelcachingtestsfixturesauthor_name-testing::memory:: books-testing::memory:: profile-pluck_name_id ' );
331
331
$ tags = [
332
332
'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesauthor ' ,
333
333
'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesbook ' ,
@@ -347,7 +347,7 @@ public function testSumModelResultsCreatesCache()
347
347
{
348
348
$ authorId = (new Author )->with ('books ' , 'profile ' )
349
349
->sum ('id ' );
350
- $ key = sha1 ('genealabs:laravel-model-caching:testing::memory::authors:genealabslaravelmodelcachingtestsfixturesauthor-books-profile-sum_id ' );
350
+ $ key = sha1 ('genealabs:laravel-model-caching:testing::memory::authors:genealabslaravelmodelcachingtestsfixturesauthor-testing::memory:: books-testing::memory:: profile-sum_id ' );
351
351
$ tags = [
352
352
'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesauthor ' ,
353
353
'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesbook ' ,
@@ -367,7 +367,7 @@ public function testValueModelResultsCreatesCache()
367
367
{
368
368
$ authorName = (new Author )->with ('books ' , 'profile ' )
369
369
->value ('name ' );
370
- $ key = sha1 ('genealabs:laravel-model-caching:testing::memory::authors:genealabslaravelmodelcachingtestsfixturesauthor-books-profile-value_name ' );
370
+ $ key = sha1 ('genealabs:laravel-model-caching:testing::memory::authors:genealabslaravelmodelcachingtestsfixturesauthor-testing::memory:: books-testing::memory:: profile-value_name ' );
371
371
$ tags = [
372
372
'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesauthor ' ,
373
373
'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesbook ' ,
@@ -388,7 +388,7 @@ public function testNestedRelationshipEagerLoading()
388
388
$ authors = collect ([(new Author )->with ('books.publisher ' )
389
389
->first ()]);
390
390
391
- $ key = sha1 ('genealabs:laravel-model-caching:testing::memory::authors:genealabslaravelmodelcachingtestsfixturesauthor-books-books.publisher-first ' );
391
+ $ key = sha1 ('genealabs:laravel-model-caching:testing::memory::authors:genealabslaravelmodelcachingtestsfixturesauthor-testing::memory:: books-testing::memory:: books.publisher-first ' );
392
392
$ tags = [
393
393
'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesauthor ' ,
394
394
'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesbook ' ,
@@ -466,7 +466,7 @@ public function testNestedRelationshipWhereClauseParsing()
466
466
->with ('books.publisher ' )
467
467
->get ();
468
468
469
- $ key = sha1 ('genealabs:laravel-model-caching:testing::memory::authors:genealabslaravelmodelcachingtestsfixturesauthor-books-books.publisher ' );
469
+ $ key = sha1 ('genealabs:laravel-model-caching:testing::memory::authors:genealabslaravelmodelcachingtestsfixturesauthor-testing::memory:: books-books.publisher ' );
470
470
$ tags = [
471
471
'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesauthor ' ,
472
472
'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesbook ' ,
0 commit comments