Code Duplication    Length = 8-12 lines in 2 locations

Tests/DependencyInjection/ConfigurationTest.php 2 locations

@@ 30-37 (lines=8) @@
27
    /**
28
     * Test Default Currency to prevent BC breaks
29
     */
30
    public function testProcessedDefaultCurrency()
31
    {
32
        $config = [[]];
33
34
        $config = $this->process($config);
35
36
        $this->assertEquals('EUR', $config['default_currency']);
37
    }
38
39
    /**
40
     * @dataProvider provideValidCurrency
@@ 42-53 (lines=12) @@
39
    /**
40
     * @dataProvider provideValidCurrency
41
     */
42
    public function testValidDefaultCurrency($currency)
43
    {
44
        $config = [
45
            [
46
                'default_currency' => $currency,
47
            ]
48
        ];
49
50
        $config = $this->process($config);
51
52
        $this->assertEquals($currency, $config['default_currency']);
53
    }
54
55
    public function provideInvalidCurrency()
56
    {