Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MINOR Removed dependency of DatagridFunctionalTest on ContentControll…

…er (sapphire vs. cms)
  • Loading branch information...
commit dcf59959d8b6ca152009b21ce6da2dd2a6413603 1 parent cc61551
@chillu chillu authored
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');
Please sign in to comment.
Something went wrong with that request. Please try again.