Skip to content

Commit 56e5b44

Browse files
committed
Replace ProfilerTest::testInit with ProfilerTest::testGetCollection
1 parent e11f014 commit 56e5b44

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

tests/ProfilerTest.php

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,9 @@ public function __construct($name = null, array $data = [], $dataName = '') {
2525

2626
/**
2727
* @test
28-
* @covers \Xicrow\PhpDebug\Profiler::init
28+
* @covers \Xicrow\PhpDebug\Profiler::getCollection
2929
*/
30-
public function testInit() {
31-
$expected = null;
32-
$result = Timer::getCollection();
33-
$this->assertEquals($expected, $result);
34-
35-
Timer::init();
36-
30+
public function testGetCollection() {
3731
$expected = '\Xicrow\PhpDebug\Collection';
3832
$result = Timer::getCollection();
3933
$this->assertInstanceOf($expected, $result);

0 commit comments

Comments
 (0)