aboutsummaryrefslogtreecommitdiffstats
path: root/tests/group/helper_test.php
diff options
context:
space:
mode:
authorOliver Schramm <oliver.schramm97@gmail.com>2015-05-29 14:40:23 +0200
committerOliver Schramm <oliver.schramm97@gmail.com>2015-08-05 17:50:26 +0200
commit981bd8bed4f126ec01e02d9e1737c4d42994461c (patch)
tree4f0f704833c5f2fc3912a3a12b65c8041eef2776 /tests/group/helper_test.php
parentca17bc7187c8836be7650209886b1024d01b268c (diff)
downloadforums-981bd8bed4f126ec01e02d9e1737c4d42994461c.tar
forums-981bd8bed4f126ec01e02d9e1737c4d42994461c.tar.gz
forums-981bd8bed4f126ec01e02d9e1737c4d42994461c.tar.bz2
forums-981bd8bed4f126ec01e02d9e1737c4d42994461c.tar.xz
forums-981bd8bed4f126ec01e02d9e1737c4d42994461c.zip
[ticket/12143] Fix those tests
I always have to fix them.. :( PHPBB3-12143
Diffstat (limited to 'tests/group/helper_test.php')
-rw-r--r--tests/group/helper_test.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/group/helper_test.php b/tests/group/helper_test.php
index a325ac7ac9..2377a6f47c 100644
--- a/tests/group/helper_test.php
+++ b/tests/group/helper_test.php
@@ -45,15 +45,15 @@ class phpbb_group_helper_test extends phpbb_test_case
public function test_get_name()
{
// They should be totally fine
- $this->assertEquals('Bots', 'Bots');
- $this->assertEquals('Some new group', 'new_group');
- $this->assertEquals('Should work', 'group_with_ümlauts');
+ $this->assertEquals('Bots', $this->group_helper->get_name('Bots'));
+ $this->assertEquals('Some new group', $this->group_helper->get_name('new_group'));
+ $this->assertEquals('Should work', $this->group_helper->get_name('group_with_ümlauts'));
// This should fail (obviously)
- $this->assertNotEquals('They key does not contain uppercase letters', 'not_uppercase');
+ $this->assertNotEquals('They key does not contain uppercase letters', $this->group_helper->get_name('not_uppercase'));
// The key doesn't exist so just return group name...
- $this->assertEquals('Awesome group', 'Awesome group');
+ $this->assertEquals('Awesome group', $this->group_helper->get_name('Awesome group'));
}
protected function get_test_language_data_set()