@@ -17,8 +17,8 @@ class FlushTest extends IntegrationTestCase
1717 public function testGivenModelIsFlushed ()
1818 {
1919 $ authors = (new Author )->all ();
20- $ key = sha1 ('genealabs:laravel-model-caching:genealabslaravelmodelcachingtestsfixturesauthor ' );
21- $ tags = ['genealabs:laravel-model-caching:genealabslaravelmodelcachingtestsfixturesauthor ' ];
20+ $ key = sha1 ('genealabs:laravel-model-caching:testing: genealabslaravelmodelcachingtestsfixturesauthor ' );
21+ $ tags = ['genealabs:laravel-model-caching:testing: genealabslaravelmodelcachingtestsfixturesauthor ' ];
2222
2323 $ cachedResults = $ this ->cache
2424 ->tags ($ tags )
@@ -38,8 +38,8 @@ public function testExtendedModelIsFlushed()
3838 $ authors = (new PrefixedAuthor )
3939 ->get ();
4040
41- $ key = sha1 ('genealabs:laravel-model-caching:test-prefix:genealabslaravelmodelcachingtestsfixturesprefixedauthor ' );
42- $ tags = ['genealabs:laravel-model-caching:test-prefix:genealabslaravelmodelcachingtestsfixturesprefixedauthor ' ];
41+ $ key = sha1 ('genealabs:laravel-model-caching:testing: test-prefix:genealabslaravelmodelcachingtestsfixturesprefixedauthor ' );
42+ $ tags = ['genealabs:laravel-model-caching:testing: test-prefix:genealabslaravelmodelcachingtestsfixturesprefixedauthor ' ];
4343
4444 $ cachedResults = $ this
4545 ->cache
@@ -59,10 +59,10 @@ public function testExtendedModelIsFlushed()
5959 public function testGivenModelWithRelationshipIsFlushed ()
6060 {
6161 $ authors = (new Author )->with ('books ' )->get ();
62- $ key = sha1 ('genealabs:laravel-model-caching:genealabslaravelmodelcachingtestsfixturesauthor-books ' );
62+ $ key = sha1 ('genealabs:laravel-model-caching:testing: genealabslaravelmodelcachingtestsfixturesauthor-books ' );
6363 $ tags = [
64- 'genealabs:laravel-model-caching:genealabslaravelmodelcachingtestsfixturesauthor ' ,
65- 'genealabs:laravel-model-caching:genealabslaravelmodelcachingtestsfixturesbook ' ,
64+ 'genealabs:laravel-model-caching:testing: genealabslaravelmodelcachingtestsfixturesauthor ' ,
65+ 'genealabs:laravel-model-caching:testing: genealabslaravelmodelcachingtestsfixturesbook ' ,
6666 ];
6767
6868 $ cachedResults = $ this ->cache
@@ -97,18 +97,18 @@ public function testAllModelsAreFlushed()
9797 (new Book )->all ();
9898 (new Store )->all ();
9999
100- $ key = sha1 ('genealabs:laravel-model-caching:genealabslaravelmodelcachingtestsfixturesauthor ' );
101- $ tags = ['genealabs:laravel-model-caching:genealabslaravelmodelcachingtestsfixturesauthor ' ];
100+ $ key = sha1 ('genealabs:laravel-model-caching:testing: genealabslaravelmodelcachingtestsfixturesauthor ' );
101+ $ tags = ['genealabs:laravel-model-caching:testing: genealabslaravelmodelcachingtestsfixturesauthor ' ];
102102 $ cachedAuthors = $ this ->cache
103103 ->tags ($ tags )
104104 ->get ($ key )['value ' ];
105- $ key = sha1 ('genealabs:laravel-model-caching:genealabslaravelmodelcachingtestsfixturesbook ' );
106- $ tags = ['genealabs:laravel-model-caching:genealabslaravelmodelcachingtestsfixturesbook ' ];
105+ $ key = sha1 ('genealabs:laravel-model-caching:testing: genealabslaravelmodelcachingtestsfixturesbook ' );
106+ $ tags = ['genealabs:laravel-model-caching:testing: genealabslaravelmodelcachingtestsfixturesbook ' ];
107107 $ cachedBooks = $ this ->cache
108108 ->tags ($ tags )
109109 ->get ($ key )['value ' ];
110- $ key = sha1 ('genealabs:laravel-model-caching:genealabslaravelmodelcachingtestsfixturesstore ' );
111- $ tags = ['genealabs:laravel-model-caching:genealabslaravelmodelcachingtestsfixturesstore ' ];
110+ $ key = sha1 ('genealabs:laravel-model-caching:testing: genealabslaravelmodelcachingtestsfixturesstore ' );
111+ $ tags = ['genealabs:laravel-model-caching:testing: genealabslaravelmodelcachingtestsfixturesstore ' ];
112112 $ cachedStores = $ this ->cache
113113 ->tags ($ tags )
114114 ->get ($ key )['value ' ];
@@ -119,18 +119,18 @@ public function testAllModelsAreFlushed()
119119
120120 $ this ->artisan ('modelCache:flush ' );
121121
122- $ key = sha1 ('genealabs:laravel-model-caching:genealabslaravelmodelcachingtestsfixturesauthor ' );
123- $ tags = ['genealabs:laravel-model-caching:genealabslaravelmodelcachingtestsfixturesauthor ' ];
122+ $ key = sha1 ('genealabs:laravel-model-caching:testing: genealabslaravelmodelcachingtestsfixturesauthor ' );
123+ $ tags = ['genealabs:laravel-model-caching:testing: genealabslaravelmodelcachingtestsfixturesauthor ' ];
124124 $ cachedAuthors = $ this ->cache
125125 ->tags ($ tags )
126126 ->get ($ key )['value ' ];
127- $ key = sha1 ('genealabs:laravel-model-caching:genealabslaravelmodelcachingtestsfixturesbook ' );
128- $ tags = ['genealabs:laravel-model-caching:genealabslaravelmodelcachingtestsfixturesbook ' ];
127+ $ key = sha1 ('genealabs:laravel-model-caching:testing: genealabslaravelmodelcachingtestsfixturesbook ' );
128+ $ tags = ['genealabs:laravel-model-caching:testing: genealabslaravelmodelcachingtestsfixturesbook ' ];
129129 $ cachedBooks = $ this ->cache
130130 ->tags ($ tags )
131131 ->get ($ key )['value ' ];
132- $ key = sha1 ('genealabs:laravel-model-caching:genealabslaravelmodelcachingtestsfixturesstore ' );
133- $ tags = ['genealabs:laravel-model-caching:genealabslaravelmodelcachingtestsfixturesstore ' ];
132+ $ key = sha1 ('genealabs:laravel-model-caching:testing: genealabslaravelmodelcachingtestsfixturesstore ' );
133+ $ tags = ['genealabs:laravel-model-caching:testing: genealabslaravelmodelcachingtestsfixturesstore ' ];
134134 $ cachedStores = $ this ->cache
135135 ->tags ($ tags )
136136 ->get ($ key )['value ' ];
0 commit comments