Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct helper tests namespace #1207

Merged
merged 1 commit into from
Sep 7, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion tests/system/Helpers/CookieHelperTest.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
<?php namespace CodeIgniter\HTTP;
<?php
namespace CodeIgniter\Helpers;

use Config\App;
use CodeIgniter\Config\Services;
use CodeIgniter\HTTP\IncomingRequest;
use CodeIgniter\HTTP\URI;
use CodeIgniter\HTTP\UserAgent;
use Tests\Support\HTTP\MockResponse;

final class CookieHelperTest extends \CIUnitTestCase
Expand Down
5 changes: 3 additions & 2 deletions tests/system/Helpers/DateHelperTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php namespace CodeIgniter\HTTP;
<?php
namespace CodeIgniter\Helpers;

use Config\App;
use CodeIgniter\Config\Services;
Expand Down Expand Up @@ -31,7 +32,7 @@ public function testNowDefault()
public function testNowSpecific()
{
// Chicago should be two hours ahead of Vancouver
$this->assertEquals(7200,now('America/Chicago')-now('America/Vancouver'));
$this->assertEquals(7200, now('America/Chicago') - now('America/Vancouver'));
}

}
3 changes: 2 additions & 1 deletion tests/system/Helpers/HTMLHelperTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php namespace CodeIgniter\HTTP;
<?php
namespace CodeIgniter\Helpers;

final class HTMLHelperTest extends \CIUnitTestCase
{
Expand Down
4 changes: 2 additions & 2 deletions tests/system/Helpers/InflectorHelperTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php namespace CodeIgniter\HTTP;

<?php
namespace CodeIgniter\Helpers;

final class InflectorHelperTest extends \CIUnitTestCase
{
Expand Down
5 changes: 3 additions & 2 deletions tests/system/Helpers/NumberHelperTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php namespace CodeIgniter\HTTP;
<?php
namespace CodeIgniter\Helpers;

class numberHelperTest extends \CIUnitTestCase
final class NumberHelperTest extends \CIUnitTestCase
{

public function setUp()
Expand Down