@@ -466,7 +466,7 @@ public function testNestedRelationshipEagerLoading()
466
466
public function testLazyLoadedRelationshipResolvesThroughCachedBuilder ()
467
467
{
468
468
$ books = (new Author )->first ()->books ;
469
- $ key = sha1 ('genealabslaravelmodelcachingtestsfixturesbook-books.author_id_1 -books.author_id_notnull ' );
469
+ $ key = sha1 ('genealabslaravelmodelcachingtestsfixturesbook-books.author_id_=_1 -books.author_id_notnull_ ' );
470
470
$ tags = [
471
471
'genealabslaravelmodelcachingtestsfixturesbook ' ,
472
472
];
@@ -481,7 +481,7 @@ public function testLazyLoadedRelationshipResolvesThroughCachedBuilder()
481
481
public function testLazyLoadingOnResourceIsCached ()
482
482
{
483
483
$ books = (new AuthorResource ((new Author )->first ()))->books ;
484
- $ key = sha1 ('genealabslaravelmodelcachingtestsfixturesbook-books.author_id_1 -books.author_id_notnull ' );
484
+ $ key = sha1 ('genealabslaravelmodelcachingtestsfixturesbook-books.author_id_=_1 -books.author_id_notnull_ ' );
485
485
$ tags = [
486
486
'genealabslaravelmodelcachingtestsfixturesbook ' ,
487
487
];
@@ -575,7 +575,7 @@ public function testColumnsRelationshipWhereClauseParsing()
575
575
$ authors = (new Author )
576
576
->where ('name ' , '= ' , $ author ->name )
577
577
->get ();
578
- $ key = sha1 ('genealabslaravelmodelcachingtestsfixturesauthor-name_ ' .
578
+ $ key = sha1 ('genealabslaravelmodelcachingtestsfixturesauthor-name_=_ ' .
579
579
$ author ->name );
580
580
$ tags = ['genealabslaravelmodelcachingtestsfixturesauthor ' ];
581
581
@@ -616,7 +616,7 @@ public function testScopeClauseParsing()
616
616
$ authors = (new Author )
617
617
->startsWithA ()
618
618
->get ();
619
- $ key = sha1 ('genealabslaravelmodelcachingtestsfixturesauthor-name_A % ' );
619
+ $ key = sha1 ('genealabslaravelmodelcachingtestsfixturesauthor-name_like_A % ' );
620
620
$ tags = ['genealabslaravelmodelcachingtestsfixturesauthor ' ];
621
621
622
622
$ cachedResults = cache ()->tags ($ tags )->get ($ key );
@@ -635,7 +635,7 @@ public function testRelationshipQueriesAreCached()
635
635
->first ()
636
636
->books ()
637
637
->get ();
638
- $ key = sha1 ('genealabslaravelmodelcachingtestsfixturesbook-books.author_id_1 -books.author_id_notnull ' );
638
+ $ key = sha1 ('genealabslaravelmodelcachingtestsfixturesbook-books.author_id_=_1 -books.author_id_notnull_ ' );
639
639
$ tags = [
640
640
'genealabslaravelmodelcachingtestsfixturesbook '
641
641
];
0 commit comments