File tree Expand file tree Collapse file tree 3 files changed +15
-1
lines changed
Expand file tree Collapse file tree 3 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ easily changed.
3131## Configuration (optional)
3232
3333The library's default behavior can be changed using its config file. Copy
34- bin /Alerts.php to app/Config/Alerts.php and follow the instructions in the
34+ ** examples /Alerts.php** to ** app/Config/Alerts.php** and follow the instructions in the
3535comments. If no config file is found the library will use its defaults.
3636
3737## Usage
File renamed without changes.
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ use CodeIgniter \Test \CIUnitTestCase ;
4+ use Tatter \Alerts \Alerts ;
5+
6+ class ServiceTest extends CIUnitTestCase
7+ {
8+ public function testServiceReturnsLibrary ()
9+ {
10+ $ result = service ('alerts ' );
11+
12+ $ this ->assertInstanceOf (Alerts::class, $ result );
13+ }
14+ }
You can’t perform that action at this time.
0 commit comments