From 70539fe94d67cb4bdde7edce8a26873343d3c240 Mon Sep 17 00:00:00 2001 From: Silvio Date: Wed, 18 Aug 2010 12:00:21 -0300 Subject: Moving tests to apps folder --- tests/read.php | 53 ----------------------------------------------------- 1 file changed, 53 deletions(-) delete mode 100644 tests/read.php (limited to 'tests/read.php') diff --git a/tests/read.php b/tests/read.php deleted file mode 100644 index 92dc1c3..0000000 --- a/tests/read.php +++ /dev/null @@ -1,53 +0,0 @@ - - - - - - - array( - 'implementation' => 'PhpIsis', - 'database' => 'anu10', - ), - 1 => array( - 'implementation' => 'BiblioIsis', - 'database' => 'anu10', - ), -); - -foreach ($configs as $config) { - // Get a db instance. - $isis = new CinisisDb($config); - - // Test connection. - if ($isis->db) { - $result = $isis->db->read(1); - $entries = $isis->db->entries(); - - // Format output. - echo ''; - } -} - -?> - -
'; - echo '
';
-    echo 'Implementation: '. $config['implementation'] ."\n";
-    echo "Rows: $entries\n";
-    print_r($result);
-    echo '
'; - echo '
- -- cgit v1.2.3