summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/codeigniter/helpers/string_helper_test.php2
-rw-r--r--tests/codeigniter/helpers/url_helper_test.php4
-rwxr-xr-xtests/mocks/database/ci_test.sqlitebin19456 -> 19456 bytes
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/codeigniter/helpers/string_helper_test.php b/tests/codeigniter/helpers/string_helper_test.php
index 4f15909ff..f6d473a41 100644
--- a/tests/codeigniter/helpers/string_helper_test.php
+++ b/tests/codeigniter/helpers/string_helper_test.php
@@ -98,7 +98,7 @@ class String_helper_test extends CI_TestCase {
public function test_random_string()
{
$this->assertEquals(16, strlen(random_string('alnum', 16)));
- $this->assertEquals(32, strlen(random_string('unique', 16)));
+ $this->assertEquals(32, strlen(random_string('md5', 16)));
$this->assertEquals('string', gettype(random_string('numeric', 16)));
}
diff --git a/tests/codeigniter/helpers/url_helper_test.php b/tests/codeigniter/helpers/url_helper_test.php
index 5f936568b..1b295511e 100644
--- a/tests/codeigniter/helpers/url_helper_test.php
+++ b/tests/codeigniter/helpers/url_helper_test.php
@@ -21,7 +21,7 @@ class Url_helper_test extends CI_TestCase {
foreach ($words as $in => $out)
{
- $this->assertEquals($out, url_title($in, 'dash', TRUE));
+ $this->assertEquals($out, url_title($in, '-', TRUE));
}
}
@@ -41,7 +41,7 @@ class Url_helper_test extends CI_TestCase {
foreach ($words as $in => $out)
{
- $this->assertEquals($out, url_title($in, 'underscore'));
+ $this->assertEquals($out, url_title($in, '_'));
}
}
diff --git a/tests/mocks/database/ci_test.sqlite b/tests/mocks/database/ci_test.sqlite
index db14455eb..36e4ae5de 100755
--- a/tests/mocks/database/ci_test.sqlite
+++ b/tests/mocks/database/ci_test.sqlite
Binary files differ