From cede9fd7ef67d07bd8bbc249c190ed219cb8f204 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Mon, 22 Sep 2014 16:49:52 +0200 Subject: [PATCH] Remove unneeded unit tests --- tests/data/testcal.ics | 13 ------------- tests/data/testcontact.vcf | 6 ------ tests/lib/preview.php | 4 ---- 3 files changed, 23 deletions(-) delete mode 100644 tests/data/testcal.ics delete mode 100644 tests/data/testcontact.vcf diff --git a/tests/data/testcal.ics b/tests/data/testcal.ics deleted file mode 100644 index e05f01ba1c..0000000000 --- a/tests/data/testcal.ics +++ /dev/null @@ -1,13 +0,0 @@ -BEGIN:VCALENDAR -PRODID:-//some random cal software//EN -VERSION:2.0 -BEGIN:VEVENT -CREATED:20130102T120000Z -LAST-MODIFIED:20130102T120000Z -DTSTAMP:20130102T120000Z -UID:f106ecdf-c716-43ef-9d94-4e6f19f2fcfb -SUMMARY:a test cal file -DTSTART;VALUE=DATE:20130101 -DTEND;VALUE=DATE:20130102 -END:VEVENT -END:VCALENDAR \ No newline at end of file diff --git a/tests/data/testcontact.vcf b/tests/data/testcontact.vcf deleted file mode 100644 index 2af963d691..0000000000 --- a/tests/data/testcontact.vcf +++ /dev/null @@ -1,6 +0,0 @@ -BEGIN:VCARD -VERSION:3.0 -PRODID:-//some random contact software//EN -N:def;abc;;; -FN:abc def -END:VCARD \ No newline at end of file diff --git a/tests/lib/preview.php b/tests/lib/preview.php index 4ef61fb825..2febe524cb 100644 --- a/tests/lib/preview.php +++ b/tests/lib/preview.php @@ -97,13 +97,9 @@ class Preview extends \PHPUnit_Framework_TestCase { public function txtBlacklist() { $txt = 'random text file'; - $ics = file_get_contents(__DIR__ . '/../data/testcal.ics'); - $vcf = file_get_contents(__DIR__ . '/../data/testcontact.vcf'); return array( array('txt', $txt, false), - array('ics', $ics, true), - array('vcf', $vcf, true), ); }