@@ -10,11 +10,11 @@ public function testGetModelResultsCreatesCache()
1010 {
1111 $ authors = (new Author )->with ('books ' , 'profile ' )
1212 ->get ();
13- $ key = sha1 ('genealabs:laravel-model-caching:testing::memory::test-prefix: authors:genealabslaravelmodelcachingtestsfixturesauthor-testing::memory::books-testing::memory::profile ' );
13+ $ key = sha1 ('genealabs:laravel-model-caching:testing::memory::authors:genealabslaravelmodelcachingtestsfixturesauthor-testing::memory::books-testing::memory::profile ' );
1414 $ tags = [
15- 'genealabs:laravel-model-caching:testing::memory::test-prefix: genealabslaravelmodelcachingtestsfixturesauthor ' ,
16- 'genealabs:laravel-model-caching:testing::memory::test-prefix: genealabslaravelmodelcachingtestsfixturesbook ' ,
17- 'genealabs:laravel-model-caching:testing::memory::test-prefix: genealabslaravelmodelcachingtestsfixturesprofile ' ,
15+ 'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesauthor ' ,
16+ 'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesbook ' ,
17+ 'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesprofile ' ,
1818 ];
1919
2020 $ cachedResults = $ this ->cache ()->tags ($ tags )
@@ -45,9 +45,9 @@ public function testAccessingGetResultsViaArrayIndexDoesNotError()
4545
4646 public function testGetWithFieldArrayCachesResults ()
4747 {
48- $ key = sha1 ('genealabs:laravel-model-caching:testing::memory::test-prefix: authors:genealabslaravelmodelcachingtestsfixturesauthor_id_name ' );
48+ $ key = sha1 ('genealabs:laravel-model-caching:testing::memory::authors:genealabslaravelmodelcachingtestsfixturesauthor_id_name ' );
4949 $ tags = [
50- 'genealabs:laravel-model-caching:testing::memory::test-prefix: genealabslaravelmodelcachingtestsfixturesauthor ' ,
50+ 'genealabs:laravel-model-caching:testing::memory::genealabslaravelmodelcachingtestsfixturesauthor ' ,
5151 ];
5252
5353 $ authors = (new Author )
0 commit comments