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 17
17
18
18
class CachedModelTest extends IntegrationTestCase
19
19
{
20
-
21
-
22
20
public function testAllModelResultsCreatesCache ()
23
21
{
24
22
$ authors = (new Author )->all ();
@@ -191,18 +189,4 @@ public function testModelCacheDoesInvalidateWhenNoCooldownPeriod()
191
189
$ this ->assertCount (11 , $ authorsAfterCreate );
192
190
$ this ->assertCount (11 , $ uncachedAuthors );
193
191
}
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
- // }
208
192
}
You can’t perform that action at this time.
0 commit comments