You are here

function LinkCheckerLinkExtractionTest::getLinkCheckerLinksCount in Link checker 6.2

Same name and namespace in other branches
  1. 7 linkchecker.test \LinkCheckerLinkExtractionTest::getLinkCheckerLinksCount()

Get the current number of links in linkchecker_links table.

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

File

tests/linkchecker_extract_links.test, line 372
Test file for Link checker module.

Class

LinkCheckerLinkExtractionTest
@file Test file for Link checker module.

Code

function getLinkCheckerLinksCount() {
  return db_result(db_query("SELECT COUNT(1) FROM {linkchecker_links}"));
}