Code Duplication    Length = 17-17 lines in 2 locations

tests/Functional/SoundcloudProviderTest.php 1 location

@@ 5-21 (lines=17) @@
2
3
namespace MediaMonks\SonataMediaBundle\Tests\Functional;
4
5
class SoundcloudProviderTest extends AbstractOembedProviderTestAbstract
6
{
7
    public function testSoundcloud()
8
    {
9
        $this->providerFlow(
10
            'soundcloud',
11
            'https://soundcloud.com/mediamonks-2/old-spice-workout-anthem',
12
            [
13
                'providerReference' => 'mediamonks-2/old-spice-workout-anthem',
14
                'title' => 'Old Spice Workout Anthem by MediaMonks',
15
                'authorName' => 'MediaMonks',
16
                'copyright' => '',
17
                'focalPoint' => '50-50'
18
            ]
19
        );
20
    }
21
}
22

tests/Functional/VimeoProviderTest.php 1 location

@@ 5-21 (lines=17) @@
2
3
namespace MediaMonks\SonataMediaBundle\Tests\Functional;
4
5
class VimeoProviderTest extends AbstractOembedProviderTestAbstract
6
{
7
    public function testVimeo()
8
    {
9
        $this->providerFlow(
10
            'vimeo',
11
            'https://vimeo.com/184376204',
12
            [
13
                'providerReference' => '184376204',
14
                'title' => 'MediaMonks Mixtape Vol. II',
15
                'authorName' => 'MediaMonks',
16
                'copyright' => '',
17
                'focalPoint' => '50-50'
18
            ]
19
        );
20
    }
21
}
22