function ViewsPagerTest::createNodes

1 call to ViewsPagerTest::createNodes()
ViewsPagerTest::testViewTotalRowsWithoutPager in tests/views_pager.test

File

tests/views_pager.test, line 199

Class

ViewsPagerTest
Tests the pluggable pager system.

Code

public function createNodes($count) {
    if ($count >= 0) {
        for ($i = 0; $i < $count; $i++) {
            $this->drupalCreateNode();
        }
    }
}