You are here

function LinkCheckerLinkExtractionTest::getLinkCheckerLinksCount in Link checker 7

Same name and namespace in other branches
  1. 6.2 tests/linkchecker_extract_links.test \LinkCheckerLinkExtractionTest::getLinkCheckerLinksCount()

Get the current number of links in linkchecker_links table.

1 call to LinkCheckerLinkExtractionTest::getLinkCheckerLinksCount()
LinkCheckerLinkExtractionTest::testLinkCheckerCreateNodeWithLinks in ./linkchecker.test

File

./linkchecker.test, line 386
Test file for Link checker module.

Class

LinkCheckerLinkExtractionTest
@file Test file for Link checker module.

Code

function getLinkCheckerLinksCount() {
  return db_query('SELECT COUNT(1) FROM {linkchecker_link}')
    ->fetchField();
}