more testing

This commit is contained in:
Shish 2009-07-19 01:29:59 +01:00
parent f54c41aa83
commit fd044838f3
2 changed files with 2 additions and 0 deletions

View file

@ -36,6 +36,7 @@ class BulkAdd extends SimpleExtension {
if(file_exists($tmpname)) {
global $user;
$pathinfo = pathinfo($filename);
if(!array_key_exists('extension', $pathinfo)) return;
$metadata['filename'] = $pathinfo['basename'];
$metadata['extension'] = $pathinfo['extension'];
$metadata['tags'] = $tags;

View file

@ -20,6 +20,7 @@ class ShimmieWebTestCase extends WebTestCase {
$url = "http://".$_SERVER["HTTP_HOST"].get_base_href().'/'.make_link($page);
$url = str_replace("/./", "/", $url);
$this->get($url);
$this->assertNoText(".php on line");
}
protected function log_in_as_user() {
$this->get_page('post/list');