Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/ConfigFunctionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* @author Korotkov Danila (Jagepard) <jagepard@yandex.ru>
* @license https://mozilla.org/MPL/2.0/ MPL-2.0
*
* phpunit src/tests/ContainerTest --coverage-html src/tests/coverage-html
* phpunit src/tests/ConfigFunctionTest --coverage-html src/tests/coverage-html
*/

namespace Rudra\Container\Tests;
Expand Down
2 changes: 1 addition & 1 deletion tests/CookieTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* @author Korotkov Danila (Jagepard) <jagepard@yandex.ru>
* @license https://mozilla.org/MPL/2.0/ MPL-2.0
*
* phpunit src/tests/ContainerTest --coverage-html src/tests/coverage-html
* phpunit src/tests/CookieTest --coverage-html src/tests/coverage-html
*/

namespace Rudra\Container\Tests;
Expand Down
2 changes: 1 addition & 1 deletion tests/DataFunctionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* @author Korotkov Danila (Jagepard) <jagepard@yandex.ru>
* @license https://mozilla.org/MPL/2.0/ MPL-2.0
*
* phpunit src/tests/ContainerTest --coverage-html src/tests/coverage-html
* phpunit src/tests/DataFunctionTest --coverage-html src/tests/coverage-html
*/

namespace Rudra\Container\Tests;
Expand Down
2 changes: 1 addition & 1 deletion tests/RequestTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* @author Korotkov Danila (Jagepard) <jagepard@yandex.ru>
* @license https://mozilla.org/MPL/2.0/ MPL-2.0
*
* phpunit src/tests/ContainerTest --coverage-html src/tests/coverage-html
* phpunit src/tests/RequestTest --coverage-html src/tests/coverage-html
*/

namespace Rudra\Container\Tests;
Expand Down
2 changes: 1 addition & 1 deletion tests/ResponseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* @author Korotkov Danila (Jagepard) <jagepard@yandex.ru>
* @license https://mozilla.org/MPL/2.0/ MPL-2.0
*
* phpunit src/tests/ContainerTest --coverage-html src/tests/coverage-html
* phpunit src/tests/ResponseTest --coverage-html src/tests/coverage-html
*/

namespace Rudra\Container\Tests;
Expand Down
24 changes: 10 additions & 14 deletions tests/RudraTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,20 @@
namespace Rudra\Container\Tests;

use Rudra\Container\Container;
use Rudra\Container\Rudra as R;
use Rudra\Container\Facades\{Cookie, Request, Response, Rudra, Session};
use Rudra\Container\Facades\Rudra;
use Rudra\Container\Interfaces\RudraInterface;
use Rudra\Container\Tests\Stub\{
BindingClass,
BindingClassStub,
ClassWithDependency,
ClassWithoutParameters,
ClassWithoutConstructor,
ClassWithDefaultParameters,
};
use Rudra\Exceptions\NotFoundException;
use Rudra\Container\Rudra as R;
use Rudra\Container\Tests\Stub\BindingClass;
use Rudra\Container\Tests\Stub\BindingClassStub;
use Rudra\Container\Tests\Stub\ClassWithDefaultParameters;
use Rudra\Container\Tests\Stub\ClassWithDependency;
use Rudra\Container\Tests\Stub\ClassWithoutConstructor;
use Rudra\Container\Tests\Stub\ClassWithoutParameters;
use Rudra\Container\Tests\Stub\Factories\BindingFactory;
use Rudra\Container\Tests\Stub\Interfaces\BindInterface;
use PHPUnit\Framework\{TestCase as PHPUnit_Framework_TestCase};
use Rudra\Container\Tests\Stub\Factories\BindingFactoryString;
use Rudra\Exceptions\NotFoundException;

class RudraTest extends PHPUnit_Framework_TestCase
class RudraTest extends \PHPUnit\Framework\TestCase
{
private RudraInterface $rudra;

Expand Down
5 changes: 3 additions & 2 deletions tests/SessionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@
* @author Korotkov Danila (Jagepard) <jagepard@yandex.ru>
* @license https://mozilla.org/MPL/2.0/ MPL-2.0
*
* phpunit src/tests/ContainerTest --coverage-html src/tests/coverage-html
* phpunit src/tests/SessionTest --coverage-html src/tests/coverage-html
*/

namespace Rudra\Container\Tests;

use PHPUnit\Framework\TestCase;
use Rudra\Container\Facades\Rudra;
use Rudra\Container\Facades\Session;
use Rudra\Exceptions\NotFoundException;
use Rudra\Container\Facades\{Cookie, Request, Response, Rudra, Session};

class SessionTest extends TestCase
{
Expand Down
Loading