Passed
Push — master ( c0f464...9c6e80 )
by Gabriel
11:21
created

PurchasesTest::test_getController()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 1 Features 0
Metric Value
cc 1
eloc 1
c 1
b 1
f 0
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 PurchasesTest extends AbstractTestCase
13
{
14
    public function test_getController()
15
    {
16
        self::assertSame('purchases', Purchases::instance()->getController());
17
    }
18
}
19