1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-19 06:51:33 +02:00

[feature/avatars] Differentiate tests for get drivers functions

Tests for get_all_drivers() and get_enabled_drivers() should be different.

PHPBB3-10018
This commit is contained in:
Marc Alexander
2013-01-08 21:58:03 +01:00
parent cb08bf3c0c
commit caa3516d13
2 changed files with 31 additions and 1 deletions

View File

@@ -0,0 +1,19 @@
<?php
class phpbb_avatar_driver_barfoo extends phpbb_avatar_driver
{
public function get_data($row)
{
return array();
}
public function prepare_form($request, $template, $row, &$error)
{
return false;
}
public function process_form($request, $template, $row, &$error)
{
return false;
}
}