Bolt\Tests\Logger\ChangeLogTest::testGetChangeLogEntry PHP Метод

testGetChangeLogEntry() публичный Метод

    public function testGetChangeLogEntry()
    {
        $app = $this->getApp();
        $app['config']->set('general/changelog/enabled', true);
        //$all = $this->getLogChangeRepository()->getChangeLogByContentType('pages', []);
        $log = $this->getLogChangeRepository()->getChangeLogEntry('pages', 1, 1, '=');
        $this->assertInstanceOf('\\Bolt\\Storage\\Entity\\LogChange', $log);
    }