@@ -466,7 +466,7 @@ public function testNestedRelationshipEagerLoading()
466466 public function testLazyLoadedRelationshipResolvesThroughCachedBuilder ()
467467 {
468468 $ 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_ ' );
470470 $ tags = [
471471 'genealabslaravelmodelcachingtestsfixturesbook ' ,
472472 ];
@@ -481,7 +481,7 @@ public function testLazyLoadedRelationshipResolvesThroughCachedBuilder()
481481 public function testLazyLoadingOnResourceIsCached ()
482482 {
483483 $ 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_ ' );
485485 $ tags = [
486486 'genealabslaravelmodelcachingtestsfixturesbook ' ,
487487 ];
@@ -575,7 +575,7 @@ public function testColumnsRelationshipWhereClauseParsing()
575575 $ authors = (new Author )
576576 ->where ('name ' , '= ' , $ author ->name )
577577 ->get ();
578- $ key = sha1 ('genealabslaravelmodelcachingtestsfixturesauthor-name_ ' .
578+ $ key = sha1 ('genealabslaravelmodelcachingtestsfixturesauthor-name_=_ ' .
579579 $ author ->name );
580580 $ tags = ['genealabslaravelmodelcachingtestsfixturesauthor ' ];
581581
@@ -616,7 +616,7 @@ public function testScopeClauseParsing()
616616 $ authors = (new Author )
617617 ->startsWithA ()
618618 ->get ();
619- $ key = sha1 ('genealabslaravelmodelcachingtestsfixturesauthor-name_A % ' );
619+ $ key = sha1 ('genealabslaravelmodelcachingtestsfixturesauthor-name_like_A % ' );
620620 $ tags = ['genealabslaravelmodelcachingtestsfixturesauthor ' ];
621621
622622 $ cachedResults = cache ()->tags ($ tags )->get ($ key );
@@ -635,7 +635,7 @@ public function testRelationshipQueriesAreCached()
635635 ->first ()
636636 ->books ()
637637 ->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_ ' );
639639 $ tags = [
640640 'genealabslaravelmodelcachingtestsfixturesbook '
641641 ];
0 commit comments