summaryrefslogtreecommitdiff
path: root/t/inc/Search.t
diff options
context:
space:
mode:
Diffstat (limited to 't/inc/Search.t')
-rw-r--r--t/inc/Search.t14
1 files changed, 14 insertions, 0 deletions
diff --git a/t/inc/Search.t b/t/inc/Search.t
new file mode 100644
index 00000000..2f06dcd9
--- /dev/null
+++ b/t/inc/Search.t
@@ -0,0 +1,14 @@
+#!/usr/bin/env php
+<?php
+
+require 't/Search.inc';
+
+$db = buildTestDatabase( array( 'page', 'revision', 'text', 'searchindex' ) );
+if( is_null( $db ) ){
+ fail( 'no db' );
+ exit();
+}
+$t = new SearchEngineTest( new SearchMySQL( $db ) );
+$t->run();
+
+/* vim: set filetype=php: */