Misc test fixes

This commit is contained in:
Lonnie Ezell 2018-08-08 22:48:35 -05:00
parent d28b52ab3a
commit 1a47f2b7b5
No known key found for this signature in database
GPG Key ID: 8EB408F8D82F5002
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
<?php namespace Tests\system\View;
<?php namespace Tests\Support\View;
/**
* Class SampleClass

View File

@ -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'));
}
// ------------------------------------------------------------------------

View File

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