提交
This commit is contained in:
14
vendor/topthink/think-dumper/tests/DumperTest.php
vendored
Normal file
14
vendor/topthink/think-dumper/tests/DumperTest.php
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace think\tests\dumper;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class DumperTest extends TestCase
|
||||
{
|
||||
public function testDump()
|
||||
{
|
||||
dump(['aa' => 'bbb', 'cc' => 'dd']);
|
||||
dump($this);
|
||||
}
|
||||
}
|
||||
13
vendor/topthink/think-dumper/tests/bootstrap.php
vendored
Normal file
13
vendor/topthink/think-dumper/tests/bootstrap.php
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
$app = new \think\App();
|
||||
$app->config->set([
|
||||
'default' => 'file',
|
||||
'stores' => [
|
||||
'file' => [
|
||||
'type' => 'File',
|
||||
],
|
||||
],
|
||||
], 'cache');
|
||||
|
||||
$app->initialize();
|
||||
Reference in New Issue
Block a user