File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change 1717
1818class CachedModelTest extends IntegrationTestCase
1919{
20-
21-
2220 public function testAllModelResultsCreatesCache ()
2321 {
2422 $ authors = (new Author )->all ();
@@ -191,18 +189,4 @@ public function testModelCacheDoesInvalidateWhenNoCooldownPeriod()
191189 $ this ->assertCount (11 , $ authorsAfterCreate );
192190 $ this ->assertCount (11 , $ uncachedAuthors );
193191 }
194-
195- // /** @group test */
196- // public function testModelObserver()
197- // {
198- // (new Author)->observe(AuthorObserver::class);
199- // $authors = (new Author)->get();
200- // $author1 = $authors->first();
201- // $author2 = $authors->last();
202- //
203- // $author1->save();
204- //
205- // $this->assertEquals("saving@noemail.com", $author1->email);
206- // $this->assertEquals("retrieved@noemail.com", $author2->email);
207- // }
208192}
You can’t perform that action at this time.
0 commit comments