Skip to content
This repository was archived by the owner on May 18, 2024. It is now read-only.

Commit 9c64351

Browse files
committed
Add self to example composer.json
1 parent efd9381 commit 9c64351

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

src/composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"require-dev": {
3333
"phpunit/phpunit" : "^7.0",
3434
"mockery/mockery": "^1.0",
35+
"mgatner/ci-module-tests": "^1.0",
3536
"codeigniter4/codeigniter4": "dev-develop"
3637
},
3738
"autoload-dev": {

src/tests/database/ExampleDatabaseTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public function testDatabaseSimple()
1212
$model = new \CIModuleTests\Support\Models\ExampleModel();
1313

1414
$objects = $model->findAll();
15-
15+
1616
$this->assertCount(3, $objects);
1717
}
1818
}

src/tests/session/ExampleSessionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public function testSessionSimple()
1212
$this->session->set('logged_in', 123);
1313

1414
$value = $this->session->get('logged_in');
15-
15+
1616
$this->assertEquals(123, $value);
1717
}
1818
}

src/tests/unit/ExampleTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ class ExampleTest extends \CodeIgniter\Test\CIUnitTestCase
55
public function setUp(): void
66
{
77
parent::setUp();
8-
98
}
109

1110
public function testSimple()

0 commit comments

Comments
 (0)