listIndexTemplates() as $file) { $content = $this->readProjectFile($file); $moduleContent = $this->readTemplatePageModule($file); $usesPartial = $this->usesSharedListFiltersPartial($content); $this->assertTrue( $usesPartial || str_contains($content, 'renderGridFilterToolbar('), $file . ' does not render toolbar directly and does not include shared list-filters partial.' ); $this->assertStringContainsString('initStandardListPage(', $moduleContent, $file); $this->assertStringNotContainsString('gridFiltersFromSchema(', $content, $file); $this->assertSame(0, preg_match('/