Passed
Push — master ( 43186b...d45fb7 )
by Gabriel
14:32
created

PurchaseTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 2
c 1
b 0
f 1
dl 0
loc 5
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A test_getController() 0 3 1
1
<?php
2
3
namespace ByTIC\Payments\Tests\Models\Purchases;
4
5
use ByTIC\Payments\Models\Purchases\Purchases;
6
use ByTIC\Payments\Tests\AbstractTestCase;
7
8
/**
9
 * Class PurchasesTest
10
 * @package ByTIC\Payments\Tests\Models\Purchases
11
 */
12
class PurchaseTest extends AbstractTestCase
13
{
14
    public function test_getController()
15
    {
16
        self::assertSame('purchases', Purchases::instance()->getController());
17
    }
18
}
19