From 5f2e364e49c1430fb6637eb052698322c8f342a6 Mon Sep 17 00:00:00 2001 From: shish <shish@7f39781d-f577-437e-ae19-be835c7a54ca> Date: Sat, 18 Oct 2008 10:00:34 +0000 Subject: [PATCH] more tests git-svn-id: file:///home/shish/svn/shimmie2/trunk@1094 7f39781d-f577-437e-ae19-be835c7a54ca --- contrib/rss_comments/test.php | 9 +++++++++ contrib/rss_images/test.php | 9 +++++++++ 2 files changed, 18 insertions(+) create mode 100644 contrib/rss_comments/test.php create mode 100644 contrib/rss_images/test.php diff --git a/contrib/rss_comments/test.php b/contrib/rss_comments/test.php new file mode 100644 index 00000000..82b07a40 --- /dev/null +++ b/contrib/rss_comments/test.php @@ -0,0 +1,9 @@ +<?php +class RSSCommentsTest extends WebTestCase { + function testImageFeed() { + $this->get('http://shimmie.shishnet.org/v2/rss/comments'); + $this->assertMime("application/rss+xml"); + $this->assertNoText("Exception"); + } +} +?> diff --git a/contrib/rss_images/test.php b/contrib/rss_images/test.php new file mode 100644 index 00000000..2de87fac --- /dev/null +++ b/contrib/rss_images/test.php @@ -0,0 +1,9 @@ +<?php +class RSSImagesTest extends WebTestCase { + function testImageFeed() { + $this->get('http://shimmie.shishnet.org/v2/rss/images'); + $this->assertMime("application/rss+xml"); + $this->assertNoText("Exception"); + } +} +?>