Skip to content

Commit 73f5d46

Browse files
committed
docs: add namespace to sample code in testing
1 parent be3397b commit 73f5d46

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

user_guide_src/source/testing/overview/017.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
<?php
22

3+
namespace Tests;
4+
35
use CodeIgniter\Config\Factories;
46
use CodeIgniter\Test\CIUnitTestCase;
7+
use Tests\Support\Mock\MockUserModel;
58

69
final class SomeTest extends CIUnitTestCase
710
{

user_guide_src/source/testing/overview/021.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
namespace Tests;
4+
35
use CodeIgniter\I18n\Time;
46
use CodeIgniter\Test\CIUnitTestCase;
57

0 commit comments

Comments
 (0)