/** * Testing the loadAllByDayUpdated method. * * @since 1.0 * @dataProvider getActiveRecordProviders */ public function testLoadAllByDayUpdated($provider) { $config = ConfigProvider::getInstance(); $config->set('db.provider.name', $provider); $this->person->save(); $people = $this->person->loadAllByDayUpdated(date('Y-m-d')); $this->assertGreaterThan(0, count($people), 'Testing the loadAllByDayUpdated method'); $people[0]->delete(); }