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:
@@ -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']);
|
||||
}
|
||||
|
Reference in New Issue
Block a user