diff --git a/.atomignore b/.atomignore new file mode 100644 index 0000000..abeefe7 --- /dev/null +++ b/.atomignore @@ -0,0 +1 @@ +gh-pages/ diff --git a/tests/phpunit/TargetsTest.php b/tests/phpunit/TargetsTest.php new file mode 100644 index 0000000..c0debaf --- /dev/null +++ b/tests/phpunit/TargetsTest.php @@ -0,0 +1,26 @@ +getDB( DB_MASTER ); + $counter = new SiteStatsInit( $dbr ); + $count = $counter->articles(); + + $this->assertSame( $targets->queryResult->numRows(), $count ); + } +}