Use CIUnitTestCase for consistency with other tests

This commit is contained in:
Ollama
2026-03-10 21:48:03 +00:00
committed by jekkos
parent d684c49ebd
commit 3ba207e8b9
2 changed files with 3 additions and 15 deletions

View File

@@ -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;

View File

@@ -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>