Skip to content
Browse files

MINOR Removed dependency of DatagridFunctionalTest on ContentControll…

…er (sapphire vs. cms)
  • Loading branch information...
1 parent cc61551 commit dcf59959d8b6ca152009b21ce6da2dd2a6413603 @chillu chillu committed
Showing with 7 additions and 1 deletion.
  1. +7 −1 tests/forms/DatagridFunctionalTest.php
View
8 tests/forms/DatagridFunctionalTest.php
@@ -27,7 +27,13 @@ public function testAddToForm() {
}
}
-class DatagridFunctionalTest_Controller extends ContentController {
+class DatagridFunctionalTest_Controller extends Controller {
+
+ protected $template = 'BlankPage';
+
+ function Link($action = null) {
+ return Controller::join_links('DatagridFunctionalTest_Controller', $action);
+ }
public function index() {
$grid = new Datagrid('testgrid');

0 comments on commit dcf5995

Please sign in to comment.
Something went wrong with that request. Please try again.