@@ -26,7 +26,7 @@ public function testCacheIsEmptyBeforeLoadingModels()
2626 'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesauthor ' ,
2727 'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesbook '
2828 ])
29- ->get ('genealabs:laravel-model-caching:testing::memory::authors:genealabslaravelmodelcachingtestsfixturesauthor-books ' );
29+ ->get ('genealabs:laravel-model-caching:testing::memory::authors:genealabslaravelmodelcachingtestsfixturesauthor-testing::memory:: books ' );
3030
3131 $ this ->assertNull ($ results );
3232 }
@@ -39,7 +39,7 @@ public function testCacheIsNotEmptyAfterLoadingModels()
3939 'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesauthor ' ,
4040 'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesbook '
4141 ])
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 ' ));
4343
4444 $ this ->assertNotNull ($ results );
4545 }
@@ -105,7 +105,7 @@ public function testHasManyRelationshipIsCached()
105105 'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesauthor ' ,
106106 'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesbook '
107107 ])
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 ' ]);
109109
110110 $ this ->assertNotNull ($ results );
111111 $ this ->assertEmpty ($ authors ->diffKeys ($ results ));
@@ -122,7 +122,7 @@ public function testBelongsToRelationshipIsCached()
122122 'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesbook ' ,
123123 'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesauthor '
124124 ])
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 ' ]);
126126
127127 $ this ->assertNotNull ($ results );
128128 $ this ->assertEmpty ($ books ->diffKeys ($ results ));
@@ -139,7 +139,7 @@ public function testBelongsToManyRelationshipIsCached()
139139 'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesbook ' ,
140140 'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesstore '
141141 ])
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 ' ]);
143143
144144 $ this ->assertNotNull ($ results );
145145 $ this ->assertEmpty ($ books ->diffKeys ($ results ));
@@ -157,7 +157,7 @@ public function testHasOneRelationshipIsCached()
157157 'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesauthor ' ,
158158 'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesprofile '
159159 ])
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 ' ]);
161161
162162 $ this ->assertNotNull ($ results );
163163 $ this ->assertEmpty ($ authors ->diffKeys ($ results ));
@@ -170,7 +170,7 @@ public function testAvgModelResultsCreatesCache()
170170 {
171171 $ authorId = (new Author )->with ('books ' , 'profile ' )
172172 ->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 ' );
174174 $ tags = [
175175 'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesauthor ' ,
176176 'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesbook ' ,
@@ -224,7 +224,7 @@ public function testCountModelResultsCreatesCache()
224224 $ authors = (new Author )
225225 ->with ('books ' , 'profile ' )
226226 ->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 ' );
228228 $ tags = [
229229 'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesauthor ' ,
230230 'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesbook ' ,
@@ -246,7 +246,7 @@ public function testCountWithStringCreatesCache()
246246 $ authors = (new Author )
247247 ->with ('books ' , 'profile ' )
248248 ->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 ' );
250250 $ tags = [
251251 'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesauthor ' ,
252252 'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesbook ' ,
@@ -287,7 +287,7 @@ public function testMaxModelResultsCreatesCache()
287287 {
288288 $ authorId = (new Author )->with ('books ' , 'profile ' )
289289 ->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 ' );
291291 $ tags = [
292292 'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesauthor ' ,
293293 'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesbook ' ,
@@ -307,7 +307,7 @@ public function testMinModelResultsCreatesCache()
307307 {
308308 $ authorId = (new Author )->with ('books ' , 'profile ' )
309309 ->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 ' );
311311 $ tags = [
312312 'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesauthor ' ,
313313 'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesbook ' ,
@@ -327,7 +327,7 @@ public function testPluckModelResultsCreatesCache()
327327 {
328328 $ authors = (new Author )->with ('books ' , 'profile ' )
329329 ->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 ' );
331331 $ tags = [
332332 'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesauthor ' ,
333333 'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesbook ' ,
@@ -347,7 +347,7 @@ public function testSumModelResultsCreatesCache()
347347 {
348348 $ authorId = (new Author )->with ('books ' , 'profile ' )
349349 ->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 ' );
351351 $ tags = [
352352 'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesauthor ' ,
353353 'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesbook ' ,
@@ -367,7 +367,7 @@ public function testValueModelResultsCreatesCache()
367367 {
368368 $ authorName = (new Author )->with ('books ' , 'profile ' )
369369 ->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 ' );
371371 $ tags = [
372372 'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesauthor ' ,
373373 'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesbook ' ,
@@ -388,7 +388,7 @@ public function testNestedRelationshipEagerLoading()
388388 $ authors = collect ([(new Author )->with ('books.publisher ' )
389389 ->first ()]);
390390
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 ' );
392392 $ tags = [
393393 'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesauthor ' ,
394394 'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesbook ' ,
@@ -466,7 +466,7 @@ public function testNestedRelationshipWhereClauseParsing()
466466 ->with ('books.publisher ' )
467467 ->get ();
468468
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 ' );
470470 $ tags = [
471471 'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesauthor ' ,
472472 'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesbook ' ,
0 commit comments