mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-30 11:30:11 +02:00
tests: Use PSR-4-style namespaces (#2778)
We cannot yet switch to namespaces for RSS-Bridge itself but for tests we are not limited by BC. It does not actually do anything since PHPUnit will search for the test files without the help of the autoloader but it still makes the directory cleaner.
This commit is contained in:
30
tests/Formats/samples/expectedAtomFormat/feed.microblog.xml
Normal file
30
tests/Formats/samples/expectedAtomFormat/feed.microblog.xml
Normal file
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/">
|
||||
|
||||
<title type="text">Sample microblog feed</title>
|
||||
<id>https://example.com/feed</id>
|
||||
<icon>https://example.com/logo.png</icon>
|
||||
<logo>https://example.com/logo.png</logo>
|
||||
<updated>2000-01-01T12:00:00+00:00</updated>
|
||||
<author>
|
||||
<name>RSS-Bridge</name>
|
||||
</author>
|
||||
<link href="https://example.com/blog/" rel="alternate" type="text/html"/>
|
||||
<link href="https://example.com/feed" rel="self" type="application/atom+xml"/>
|
||||
|
||||
<entry>
|
||||
<title type="html">Oh 😲 I found three monkeys 🙈🙉🙊</title>
|
||||
<published>2018-10-07T16:53:03+00:00</published>
|
||||
<updated>2018-10-07T16:53:03+00:00</updated>
|
||||
<id>urn:sha1:1918f084648b82057c1dd3faa3d091da82a6fac2</id>
|
||||
<content type="html">Oh 😲 I found three monkeys 🙈🙉🙊</content>
|
||||
</entry>
|
||||
<entry>
|
||||
<title type="html">Something happened</title>
|
||||
<published>2018-10-07T16:38:17+00:00</published>
|
||||
<updated>2018-10-07T16:38:17+00:00</updated>
|
||||
<id>urn:sha1:e62189168a06dfa74f61c621c79c33c4c8517e1f</id>
|
||||
<content type="html">Something happened</content>
|
||||
</entry>
|
||||
|
||||
</feed>
|
Reference in New Issue
Block a user