1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[feature/avatars] Use seperate function for retrieving all drivers

PHPBB3-10018
This commit is contained in:
Marc Alexander
2012-12-04 00:59:37 +01:00
parent b42ca792fd
commit fc4069f81d
3 changed files with 24 additions and 5 deletions

View File

@@ -47,7 +47,7 @@ class phpbb_avatar_manager_test extends PHPUnit_Framework_TestCase
public function test_get_valid_drivers()
{
$valid_drivers = $this->manager->get_valid_drivers(true);
$valid_drivers = $this->manager->get_all_drivers();
$this->assertArrayHasKey('avatar.driver.foobar', $valid_drivers);
$this->assertEquals('avatar.driver.foobar', $valid_drivers['avatar.driver.foobar']);
}