Skip to content

Instantly share code, notes, and snippets.

@ahmedbodi
Created January 27, 2022 15:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ahmedbodi/f15e26e39104e53f26273d56fee75d62 to your computer and use it in GitHub Desktop.
Save ahmedbodi/f15e26e39104e53f26273d56fee75d62 to your computer and use it in GitHub Desktop.
PHPUnit 9.5.13 by Sebastian Bergmann and contributors.
Testing
. 1 / 1 (100%)string(17387) "{
"name": "Episodic Feed",
"authors": [
"Radio.co"
],
"contributors": null,
"categories": null,
"description": "Episodic Feed Fixture",
"copyright": "2022 Radio.co",
"image": {
"height": null,
"width": null,
"title": null,
"link": null,
"url": null
},
"language": "en",
"permalink": "https:\/\/localhost\/",
"type": "RSS",
"content_type": "podcast",
"is_serial": false,
"is_episodic": true,
"items": [
{
"season": 2,
"is_seasonal": false,
"episodes": {
"1": {
"description": "Season 2 Episode 1",
"copyright": null,
"content": "Season 2 Episode 1",
"created_at": 1617809431,
"updated_at": 1617809431,
"authors": [
"Radio.co"
],
"contributors": null,
"thumbnail": null,
"image": {
"height": null,
"width": null,
"title": null,
"link": null,
"url": null
},
"permalink": "https:\/\/localhost\/s2ep2",
"episode_type": null,
"enclosures": [
{
"bitrate": null,
"captions": null,
"categories": [
{
"term": null,
"scheme": "http:\/\/www.itunes.com\/dtds\/podcast-1.0.dtd",
"label": "Fixture",
"type": null
},
{
"term": null,
"scheme": "http:\/\/www.itunes.com\/dtds\/podcast-1.0.dtd",
"label": "RSS Fixture",
"type": null
}
],
"channels": null,
"copyright": null,
"credits": null,
"description": null,
"duration": null,
"expression": null,
"framerate": null,
"handler": "mp3",
"hashes": null,
"height": null,
"javascript": null,
"keywords": null,
"lang": null,
"length": 94456643,
"link": "http:\/\/localhost\/s2e2.mp3",
"medium": null,
"player": null,
"ratings": null,
"restrictions": [
{
"relationship": "allow",
"type": null,
"value": "default"
}
],
"samplingrate": null,
"thumbnails": null,
"title": null,
"type": "audio\/mpeg",
"width": null
}
],
"duration": null,
"title": null,
"episode": 1,
"season": 2
},
"2": {
"description": "Season 2 Episode 2",
"copyright": null,
"content": "Season 2 Episode 2",
"created_at": 1617809431,
"updated_at": 1617809431,
"authors": [
"Radio.co"
],
"contributors": null,
"thumbnail": null,
"image": {
"height": null,
"width": null,
"title": null,
"link": null,
"url": null
},
"permalink": "https:\/\/localhost\/s2ep2",
"episode_type": null,
"enclosures": [
{
"bitrate": null,
"captions": null,
"categories": [
{
"term": null,
"scheme": "http:\/\/www.itunes.com\/dtds\/podcast-1.0.dtd",
"label": "Fixture",
"type": null
},
{
"term": null,
"scheme": "http:\/\/www.itunes.com\/dtds\/podcast-1.0.dtd",
"label": "RSS Fixture",
"type": null
}
],
"channels": null,
"copyright": null,
"credits": null,
"description": null,
"duration": null,
"expression": null,
"framerate": null,
"handler": "mp3",
"hashes": null,
"height": null,
"javascript": null,
"keywords": null,
"lang": null,
"length": 94456643,
"link": "http:\/\/localhost\/s2e2.mp3",
"medium": null,
"player": null,
"ratings": null,
"restrictions": [
{
"relationship": "allow",
"type": null,
"value": "default"
}
],
"samplingrate": null,
"thumbnails": null,
"title": null,
"type": "audio\/mpeg",
"width": null
}
],
"duration": null,
"title": null,
"episode": 2,
"season": 2
}
}
},
{
"season": 1,
"is_seasonal": false,
"episodes": {
"Other": [
{
"description": "Season 1 Trailer",
"copyright": null,
"content": "Season 1 Trailer",
"created_at": 1617809431,
"updated_at": 1617809431,
"authors": [
"Radio.co"
],
"contributors": null,
"thumbnail": null,
"image": {
"height": null,
"width": null,
"title": null,
"link": null,
"url": null
},
"permalink": "https:\/\/localhost\/s2ep2",
"episode_type": "trailer",
"enclosures": [
{
"bitrate": null,
"captions": null,
"categories": [
{
"term": null,
"scheme": "http:\/\/www.itunes.com\/dtds\/podcast-1.0.dtd",
"label": "Fixture",
"type": null
},
{
"term": null,
"scheme": "http:\/\/www.itunes.com\/dtds\/podcast-1.0.dtd",
"label": "RSS Fixture",
"type": null
}
],
"channels": null,
"copyright": null,
"credits": null,
"description": null,
"duration": null,
"expression": null,
"framerate": null,
"handler": "mp3",
"hashes": null,
"height": null,
"javascript": null,
"keywords": null,
"lang": null,
"length": 94456643,
"link": "http:\/\/localhost\/s2e2.mp3",
"medium": null,
"player": null,
"ratings": null,
"restrictions": [
{
"relationship": "allow",
"type": null,
"value": "default"
}
],
"samplingrate": null,
"thumbnails": null,
"title": null,
"type": "audio\/mpeg",
"width": null
}
],
"duration": null,
"title": null,
"episode": null,
"season": 1
}
],
"1": {
"description": "Season 1 Episode 1",
"copyright": null,
"content": "Season 1 Episode 1",
"created_at": 1617809431,
"updated_at": 1617809431,
"authors": [
"Radio.co"
],
"contributors": null,
"thumbnail": null,
"image": {
"height": null,
"width": null,
"title": null,
"link": null,
"url": null
},
"permalink": "https:\/\/localhost\/s2ep2",
"episode_type": null,
"enclosures": [
{
"bitrate": null,
"captions": null,
"categories": [
{
"term": null,
"scheme": "http:\/\/www.itunes.com\/dtds\/podcast-1.0.dtd",
"label": "Fixture",
"type": null
},
{
"term": null,
"scheme": "http:\/\/www.itunes.com\/dtds\/podcast-1.0.dtd",
"label": "RSS Fixture",
"type": null
}
],
"channels": null,
"copyright": null,
"credits": null,
"description": null,
"duration": null,
"expression": null,
"framerate": null,
"handler": "mp3",
"hashes": null,
"height": null,
"javascript": null,
"keywords": null,
"lang": null,
"length": 94456643,
"link": "http:\/\/localhost\/s2e2.mp3",
"medium": null,
"player": null,
"ratings": null,
"restrictions": [
{
"relationship": "allow",
"type": null,
"value": "default"
}
],
"samplingrate": null,
"thumbnails": null,
"title": null,
"type": "audio\/mpeg",
"width": null
}
],
"duration": null,
"title": null,
"episode": 1,
"season": 1
},
"2": {
"description": "Season 1 Episode 2",
"copyright": null,
"content": "Season 1 Episode 2",
"created_at": 1617809431,
"updated_at": 1617809431,
"authors": [
"Radio.co"
],
"contributors": null,
"thumbnail": null,
"image": {
"height": null,
"width": null,
"title": null,
"link": null,
"url": null
},
"permalink": "https:\/\/localhost\/s2ep2",
"episode_type": null,
"enclosures": [
{
"bitrate": null,
"captions": null,
"categories": [
{
"term": null,
"scheme": "http:\/\/www.itunes.com\/dtds\/podcast-1.0.dtd",
"label": "Fixture",
"type": null
},
{
"term": null,
"scheme": "http:\/\/www.itunes.com\/dtds\/podcast-1.0.dtd",
"label": "RSS Fixture",
"type": null
}
],
"channels": null,
"copyright": null,
"credits": null,
"description": null,
"duration": null,
"expression": null,
"framerate": null,
"handler": "mp3",
"hashes": null,
"height": null,
"javascript": null,
"keywords": null,
"lang": null,
"length": 94456643,
"link": "http:\/\/localhost\/s2e2.mp3",
"medium": null,
"player": null,
"ratings": null,
"restrictions": [
{
"relationship": "allow",
"type": null,
"value": "default"
}
],
"samplingrate": null,
"thumbnails": null,
"title": null,
"type": "audio\/mpeg",
"width": null
}
],
"duration": null,
"title": null,
"episode": 2,
"season": 1
}
}
}
]
}"
Time: 00:00.039, Memory: 16.00 MB
OK (1 test, 5 assertions)
Remaining indirect deprecation notices (2)
2x: The "Sentry\SentryBundle\Tracing\Doctrine\DBAL\TracingDriverForV2" class implements "Doctrine\DBAL\Driver\ExceptionConverterDriver" that is deprecated.
2x in PodcastRSSParserTest::testEnsureParserHandlesEpisodicFeed from App\Tests\Integration\Integrations\RSS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment