more testing
This commit is contained in:
parent
f54c41aa83
commit
fd044838f3
2 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
|
@ -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');
|
||||
|
|
Reference in a new issue