diff --git a/ext/handle_svg/test.php b/ext/handle_svg/test.php index 55576053..3ec99b97 100644 --- a/ext/handle_svg/test.php +++ b/ext/handle_svg/test.php @@ -1,21 +1,6 @@ - - - - -'); - $this->log_in_as_user(); $image_id = $this->post_image("tests/test.svg", "something"); $this->assert_response(302); @@ -23,10 +8,7 @@ class SVGHandlerTest { // extends ShimmiePHPUnitTestCase { $raw = $this->get_page("get_svg/$image_id"); $this->assertTrue(strpos($raw, "www.w3.org") > 0); - unlink("tests/test.svg"); - # FIXME: test that the thumb works # FIXME: test that it gets displayed properly } } - diff --git a/tests/test.svg b/tests/test.svg new file mode 100644 index 00000000..12632e20 --- /dev/null +++ b/tests/test.svg @@ -0,0 +1,14 @@ + + + + + +