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

PurchaseTest::test_getController()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 1
eloc 1
c 1
b 0
f 1
nc 1
nop 0
dl 0
loc 3
rs 10
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