Skip to content

Commit

Permalink
code style
Browse files Browse the repository at this point in the history
  • Loading branch information
zds-s committed Feb 2, 2024
1 parent d526a56 commit c14e603
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 43 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ vendor/
.vscode/
tests/cover
tests/coding_standard.xml
public
public
*.lock
2 changes: 1 addition & 1 deletion .phpunit.cache/test-results
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version":"pest_2.33.1","defects":[],"times":{"P\\Tests\\HttpCases\\ExampleTest::__pest_evaluable_index_testing":0.021}}
{"version":"pest_2.33.1","defects":[],"times":{"P\\Tests\\HttpCases\\ExampleTest::__pest_evaluable_index_testing":0.018}}
2 changes: 0 additions & 2 deletions tests/HttpCases/ExampleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
* @contact [email protected]
* @license https://github.com/mineadmin/MineAdmin/blob/master/LICENSE
*/
use Hyperf\Testing\Http\TestResponse;

/*
* This file is part of MineAdmin.
*
Expand Down
1 change: 1 addition & 0 deletions tests/HttpTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
abstract class HttpTestCase extends TestCase
{
use RunTestsInCoroutine;

/**
* @var Client
*/
Expand Down
2 changes: 1 addition & 1 deletion tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
! defined('BASE_PATH') && define('BASE_PATH', dirname(__DIR__, 1));
! defined('SWOOLE_HOOK_FLAGS') && define('SWOOLE_HOOK_FLAGS', SWOOLE_HOOK_ALL);

//Runtime::enableCoroutine(true);
// Runtime::enableCoroutine(true);

require BASE_PATH . '/vendor/autoload.php';

Expand Down
8 changes: 4 additions & 4 deletions tests/junit.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
<testsuite name="/home/satan/my_work/mine/MineAdmin/phpunit.xml" tests="1" assertions="2" errors="0" failures="0" skipped="0" time="0.020981">
<testsuite name="Tests" tests="1" assertions="2" errors="0" failures="0" skipped="0" time="0.020981">
<testsuite name="Tests\HttpCases\ExampleTest" file="tests/HttpCases/ExampleTest.php" tests="1" assertions="2" errors="0" failures="0" skipped="0" time="0.020981">
<testcase name="index testing" file="tests/HttpCases/ExampleTest.php::index testing" class="Tests\HttpCases\ExampleTest" classname="Tests.HttpCases.ExampleTest" assertions="2" time="0.020981"/>
<testsuite name="/home/satan/my_work/mine/MineAdmin/phpunit.xml" tests="1" assertions="2" errors="0" failures="0" skipped="0" time="0.018221">
<testsuite name="Tests" tests="1" assertions="2" errors="0" failures="0" skipped="0" time="0.018221">
<testsuite name="Tests\HttpCases\ExampleTest" file="tests/HttpCases/ExampleTest.php" tests="1" assertions="2" errors="0" failures="0" skipped="0" time="0.018221">
<testcase name="index testing" file="tests/HttpCases/ExampleTest.php::index testing" class="Tests\HttpCases\ExampleTest" classname="Tests.HttpCases.ExampleTest" assertions="2" time="0.018221"/>
</testsuite>
</testsuite>
</testsuite>
Expand Down
34 changes: 0 additions & 34 deletions tests/perpare.php

This file was deleted.

0 comments on commit c14e603

Please sign in to comment.