]> git.mxchange.org Git - friendica.git/blobdiff - simplepie/test/first_item_id/SPtests/atom/1.0/dc/1.0/identifier.php
Add simplepie
[friendica.git] / simplepie / test / first_item_id / SPtests / atom / 1.0 / dc / 1.0 / identifier.php
diff --git a/simplepie/test/first_item_id/SPtests/atom/1.0/dc/1.0/identifier.php b/simplepie/test/first_item_id/SPtests/atom/1.0/dc/1.0/identifier.php
new file mode 100644 (file)
index 0000000..cdba6bf
--- /dev/null
@@ -0,0 +1,21 @@
+<?php
+
+class SimplePie_First_Item_ID_Test_Atom_10_DC_10_Identifier extends SimplePie_First_Item_ID_Test
+{
+       function data()
+       {
+               $this->data = 
+'<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.0/">
+       <entry>
+               <dc:identifier>http://example.com/</dc:identifier>
+       </entry>
+</feed>';
+       }
+       
+       function expected()
+       {
+               $this->expected = 'http://example.com/';
+       }
+}
+
+?>
\ No newline at end of file