Skip to content

Commit ed67df0

Browse files
committed
Add basic Config class test
1 parent 769c8a5 commit ed67df0

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

tests/ConfigTest.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?php
2+
3+
namespace Xhgui\Profiler\Test;
4+
5+
use Xhgui\Profiler\Config;
6+
use Xhgui\Profiler\Profiler;
7+
8+
class ConfigTest extends TestCase
9+
{
10+
public function testDefaults()
11+
{
12+
$config = new Config();
13+
$this->assertEquals(Profiler::SAVER_STACK, $config['save.handler']);
14+
}
15+
}

0 commit comments

Comments
 (0)