mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-03-25 10:21:36 -04:00
Use CIUnitTestCase for consistency with other tests
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
require_once __DIR__ . '/../../app/Libraries/Token_lib.php';
|
||||
namespace Tests\Libraries;
|
||||
|
||||
use App\Libraries\Token_lib;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use CodeIgniter\Test\CIUnitTestCase;
|
||||
|
||||
class Token_libTest extends TestCase
|
||||
class Token_libTest extends CIUnitTestCase
|
||||
{
|
||||
private Token_lib $tokenLib;
|
||||
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:noNamespaceSchemaLocation="../../vendor/phpunit/phpunit/phpunit.xsd"
|
||||
bootstrap="../../vendor/autoload.php"
|
||||
colors="true"
|
||||
cacheDirectory="../../.phpunit.cache">
|
||||
<testsuites>
|
||||
<testsuite name="Libraries">
|
||||
<directory suffix="Test.php">.</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
</phpunit>
|
||||
Reference in New Issue
Block a user