Fix tests

This commit is contained in:
Will Rossiter 2017-10-18 21:36:31 +13:00
parent deba4228a4
commit 86cd7f9511
2 changed files with 6 additions and 0 deletions

View File

@ -5,6 +5,7 @@ namespace SilverStripe\UserForms\Model;
use Page; use Page;
use SilverStripe\UserForms\UserForm; use SilverStripe\UserForms\UserForm;
use SilverStripe\UserForms\Control\UserDefinedFormController;
/** /**
* @package userforms * @package userforms
@ -27,4 +28,9 @@ class UserDefinedForm extends Page
* @var string * @var string
*/ */
private static $table_name = 'UserDefinedForm'; private static $table_name = 'UserDefinedForm';
public function getControllerName()
{
return UserDefinedFormController::class;
}
} }