Skip to content

Commit 2bc5180

Browse files
committed
Remove faulty baseUrl assertion
1 parent 024bedf commit 2bc5180

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

tests/system/Helpers/URLHelperTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1160,7 +1160,6 @@ public function testBasedNoIndex()
11601160

11611161
$this->assertEquals('http://example.com/ci/v4/index.php/controller/method', site_url('controller/method', null, $config));
11621162
$this->assertEquals('http://example.com/ci/v4/controller/method', base_url('controller/method', null, $config));
1163-
$this->assertEquals(base_url(uri_string()), current_url());
11641163
}
11651164

11661165
public function testBasedWithIndex()
@@ -1178,7 +1177,6 @@ public function testBasedWithIndex()
11781177

11791178
$this->assertEquals('http://example.com/ci/v4/index.php/controller/method', site_url('controller/method', null, $config));
11801179
$this->assertEquals('http://example.com/ci/v4/controller/method', base_url('controller/method', null, $config));
1181-
$this->assertEquals(base_url(uri_string()), current_url());
11821180
}
11831181

11841182
public function testBasedWithoutIndex()
@@ -1196,7 +1194,6 @@ public function testBasedWithoutIndex()
11961194

11971195
$this->assertEquals('http://example.com/ci/v4/controller/method', site_url('controller/method', null, $config));
11981196
$this->assertEquals('http://example.com/ci/v4/controller/method', base_url('controller/method', null, $config));
1199-
$this->assertEquals(base_url(uri_string()), current_url());
12001197
}
12011198

12021199
public function testBasedWithOtherIndex()
@@ -1214,7 +1211,6 @@ public function testBasedWithOtherIndex()
12141211

12151212
$this->assertEquals('http://example.com/ci/v4/fc.php/controller/method', site_url('controller/method', null, $config));
12161213
$this->assertEquals('http://example.com/ci/v4/controller/method', base_url('controller/method', null, $config));
1217-
$this->assertEquals(base_url(uri_string()), current_url());
12181214
}
12191215

12201216
}

0 commit comments

Comments
 (0)