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

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

    public function testCountChangeLogByContentType()
    {
        $count = $this->getLogChangeRepository()->countChangeLogByContentType('pages', []);
        $this->assertGreaterThan(0, $count);
        $count = $this->getLogChangeRepository()->countChangeLogByContentType('pages', ['contentid' => 1]);
        $this->assertGreaterThan(0, $count);
        $count = $this->getLogChangeRepository()->countChangeLogByContentType('pages', ['ownerid' => 1]);
        $this->assertGreaterThan(0, $count);
    }