/** * Test that a group is marked as expired */ public function testGroupIsExpired() { $ds = $this->buildMock(true); $group = new GroupModel($ds, ['id' => 1234, 'expire' => strtotime('-1 day')]); $this->assertTrue($group->isExpired()); }
/** * Test that a group is marked as expired */ public function testGroupIsExpired() { $ds = $this->buildMock(true); $group = new GroupModel($ds, ['id' => 1234, 'expire' => strtotime('-1 day')]); $this->assertTrue($group->isExpired()); }