1 | <?php |
||
3 | class DMSDocumentAdminTest extends FunctionalTest |
||
4 | { |
||
5 | protected static $fixture_file = 'DMSDocumentAdminTest.yml'; |
||
6 | |||
7 | public function setUp() |
||
13 | |||
14 | /** |
||
15 | * Check that the default "add new" and "edit" buttons are gone, and replaced with our customised version of it |
||
16 | */ |
||
17 | public function testGridFieldHasCustomisedButtons() |
||
48 | |||
49 | |||
50 | |||
51 | /** |
||
52 | * Quick check to ensure that the ModelAdmin endpoint is working |
||
53 | */ |
||
54 | public function testModelAdminEndpointWorks() |
||
58 | |||
59 | /** |
||
60 | * Check that the document sets GridField has a data column for the parent page title. Here we check for the |
||
61 | * Page title existing in the DOM, since "Page" is guaranteed to exist somewhere else. |
||
62 | */ |
||
63 | public function testDocumentSetsGridFieldHasParentPageColumn() |
||
69 | |||
70 | /** |
||
71 | * Checks that the document sets GridField has a data column which links to the DocumentSets tab on |
||
72 | * the actual page in the CMS |
||
73 | */ |
||
74 | public function testDocumentSetsGridFieldHasLinkToCMSPageEditor() |
||
82 | } |
||
83 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.