File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
tests/Monitor/Notification/Trigger Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -8,15 +8,6 @@ class TriggerMgrTest extends \PHPUnit_Framework_TestCase
8
8
9
9
public function setUp ()
10
10
{
11
- $ service = $ this ->getMockBuilder ('Monitor\Model\Service ' )
12
- ->disableOriginalConstructor ()
13
- ->getMock ();
14
- $ service ->method ('getName ' )
15
- ->willReturn ('Cpu Load ' );
16
- $ service ->method ('getDBColumns ' )
17
- ->willReturn ('sys_load:cpu_cores ' );
18
- $ service ->method ('getPercentages ' )
19
- ->willReturn (1 );
20
11
21
12
$ notificationMgr = $ this ->getMockBuilder ('Monitor\Notification\NotificationMgr ' )
22
13
->disableOriginalConstructor ()
@@ -29,7 +20,6 @@ public function setUp()
29
20
$ this ->serviceRepository = $ this ->getMockBuilder ('Doctrine\ORM\EntityRepository ' )
30
21
->disableOriginalConstructor ()
31
22
->getMock ();
32
-
33
23
$ this ->serviceRepository ->method ('findOneBy ' )
34
24
->willReturn ($ service );
35
25
You can’t perform that action at this time.
0 commit comments