Skip to content

Commit 613edc0

Browse files
committed
Clean up code
1 parent d5eeea8 commit 613edc0

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

tests/Integration/CachedModelTest.php

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717

1818
class 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
}

0 commit comments

Comments
 (0)