mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
Misc test fixes
This commit is contained in:
parent
d28b52ab3a
commit
1a47f2b7b5
@ -1,4 +1,4 @@
|
||||
<?php namespace Tests\system\View;
|
||||
<?php namespace Tests\Support\View;
|
||||
|
||||
/**
|
||||
* Class SampleClass
|
||||
|
@ -143,7 +143,7 @@ class CommomFunctionsTest extends \CIUnitTestCase
|
||||
public function testViewCell()
|
||||
{
|
||||
$expected = 'Hello';
|
||||
$this->assertEquals($expected, view_cell('\CodeIgniter\View\SampleClass::hello'));
|
||||
$this->assertEquals($expected, view_cell('\Tests\Support\View\SampleClass::hello'));
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------
|
||||
|
@ -4,7 +4,7 @@ use CodeIgniter\View\Cell;
|
||||
use CodeIgniter\View\Exceptions\ViewException;
|
||||
use Tests\Support\Cache\Handlers\MockHandler;
|
||||
|
||||
include_once __DIR__ . '/SampleClass.php';
|
||||
include_once __DIR__.'/SampleClass.php';
|
||||
|
||||
class CellTest extends \CIUnitTestCase
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user