@@ -16,9 +16,9 @@ public function testLazyLoadingRelationship()
16
16
->books
17
17
->first ()
18
18
->id ;
19
- $ key = sha1 ("genealabs:laravel-model-caching:testing:/Users/mike/Developer/Sites/laravel-model-caching/tests/database/ testing.sqlite:book-store:genealabslaravelmodelcachingcachedbelongstomany-book_store.book_id_=_ {$ bookId }" );
19
+ $ key = sha1 ("genealabs:laravel-model-caching:testing: { $ this -> testingSqlitePath } testing.sqlite:book-store:genealabslaravelmodelcachingcachedbelongstomany-book_store.book_id_=_ {$ bookId }" );
20
20
$ tags = [
21
- ' genealabs:laravel-model-caching:testing:/Users/mike/Developer/Sites/laravel-model-caching/tests/database/ testing.sqlite:genealabslaravelmodelcachingtestsfixturesstore ' ,
21
+ " genealabs:laravel-model-caching:testing: { $ this -> testingSqlitePath } testing.sqlite:genealabslaravelmodelcachingtestsfixturesstore " ,
22
22
];
23
23
24
24
$ stores = (new Book )
@@ -47,9 +47,9 @@ public function testInvalidatingCacheWhenAttaching()
47
47
->books
48
48
->first ()
49
49
->id ;
50
- $ key = sha1 ("genealabs:laravel-model-caching:testing:/Users/mike/Developer/Sites/laravel-model-caching/tests/database/ testing.sqlite:book-store:genealabslaravelmodelcachingcachedbelongstomany-book_store.book_id_=_ {$ bookId }" );
50
+ $ key = sha1 ("genealabs:laravel-model-caching:testing: { $ this -> testingSqlitePath } testing.sqlite:book-store:genealabslaravelmodelcachingcachedbelongstomany-book_store.book_id_=_ {$ bookId }" );
51
51
$ tags = [
52
- ' genealabs:laravel-model-caching:testing:/Users/mike/Developer/Sites/laravel-model-caching/tests/database/ testing.sqlite:genealabslaravelmodelcachingtestsfixturesstore ' ,
52
+ " genealabs:laravel-model-caching:testing: { $ this -> testingSqlitePath } testing.sqlite:genealabslaravelmodelcachingtestsfixturesstore " ,
53
53
];
54
54
$ newStore = factory (Store::class)
55
55
->create ();
@@ -79,9 +79,9 @@ public function testInvalidatingCacheWhenDetaching()
79
79
->books
80
80
->first ()
81
81
->id ;
82
- $ key = sha1 ("genealabs:laravel-model-caching:testing:/Users/mike/Developer/Sites/laravel-model-caching/tests/database/ testing.sqlite:book-store:genealabslaravelmodelcachingcachedbelongstomany-book_store.book_id_=_ {$ bookId }" );
82
+ $ key = sha1 ("genealabs:laravel-model-caching:testing: { $ this -> testingSqlitePath } testing.sqlite:book-store:genealabslaravelmodelcachingcachedbelongstomany-book_store.book_id_=_ {$ bookId }" );
83
83
$ tags = [
84
- ' genealabs:laravel-model-caching:testing:/Users/mike/Developer/Sites/laravel-model-caching/tests/database/ testing.sqlite:genealabslaravelmodelcachingtestsfixturesstore ' ,
84
+ " genealabs:laravel-model-caching:testing: { $ this -> testingSqlitePath } testing.sqlite:genealabslaravelmodelcachingtestsfixturesstore " ,
85
85
];
86
86
$ result = (new Book )
87
87
->find ($ bookId )
@@ -109,9 +109,9 @@ public function testInvalidatingCacheWhenUpdating()
109
109
->books
110
110
->first ()
111
111
->id ;
112
- $ key = sha1 ("genealabs:laravel-model-caching:testing:/Users/mike/Developer/Sites/laravel-model-caching/tests/database/ testing.sqlite:book-store:genealabslaravelmodelcachingcachedbelongstomany-book_store.book_id_=_ {$ bookId }" );
112
+ $ key = sha1 ("genealabs:laravel-model-caching:testing: { $ this -> testingSqlitePath } testing.sqlite:book-store:genealabslaravelmodelcachingcachedbelongstomany-book_store.book_id_=_ {$ bookId }" );
113
113
$ tags = [
114
- ' genealabs:laravel-model-caching:testing:/Users/mike/Developer/Sites/laravel-model-caching/tests/database/ testing.sqlite:genealabslaravelmodelcachingtestsfixturesstore ' ,
114
+ " genealabs:laravel-model-caching:testing: { $ this -> testingSqlitePath } testing.sqlite:genealabslaravelmodelcachingtestsfixturesstore " ,
115
115
];
116
116
$ result = (new Book )
117
117
->find ($ bookId )
@@ -138,9 +138,9 @@ public function testUncachedRelatedModelDoesntCache()
138
138
->books
139
139
->first ()
140
140
->id ;
141
- $ key = sha1 ("genealabs:laravel-model-caching:testing:/Users/mike/Developer/Sites/laravel-model-caching/tests/database/ testing.sqlite:book-store:genealabslaravelmodelcachingcachedbelongstomany-book_store.book_id_=_ {$ bookId }" );
141
+ $ key = sha1 ("genealabs:laravel-model-caching:testing: { $ this -> testingSqlitePath } testing.sqlite:book-store:genealabslaravelmodelcachingcachedbelongstomany-book_store.book_id_=_ {$ bookId }" );
142
142
$ tags = [
143
- ' genealabs:laravel-model-caching:testing:/Users/mike/Developer/Sites/laravel-model-caching/tests/database/ testing.sqlite:genealabslaravelmodelcachingtestsfixturesuncachedstore ' ,
143
+ " genealabs:laravel-model-caching:testing: { $ this -> testingSqlitePath } testing.sqlite:genealabslaravelmodelcachingtestsfixturesuncachedstore " ,
144
144
];
145
145
146
146
$ result = (new Book )
0 commit comments