eZ\Publish\Core\Search\Legacy\Tests\Content\HandlerContentTest::testFindWithNullLimit PHP Method

testFindWithNullLimit() public method

Issue with PHP_MAX_INT limit overflow in databases.
    public function testFindWithNullLimit()
    {
        $locator = $this->getContentSearchHandler();
        $result = $locator->findContent(new Query(array('filter' => new Criterion\ContentId(10), 'offset' => 0, 'limit' => null)));
        $this->assertEquals(1, $result->totalCount);
        $this->assertEquals(1, count($result->searchHits));
    }
HandlerContentTest