Commit 795d9f92 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2563805 by andriyun, subhojit777, joshi.rohit100, naxolozano: Remove...

Issue #2563805 by andriyun, subhojit777, joshi.rohit100, naxolozano: Remove usage and function of test_page_test_page()
parent c1be7e7b
Loading
Loading
Loading
Loading
+10 −2
Changes for core/modules/system/tests/modules/test_page_test/src/Controller/TestPageTestController.php: 10 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -13,10 +13,18 @@
class TestPageTestController {

  /**
   * @todo Remove test_page_test_page().
   * Returns a test page and sets the title.
   */
  public function testPage() {
    return test_page_test_page();
    return [
      '#title' => t('Test page'),
      '#markup' => t('Test page text.'),
      '#attached' => [
        'drupalSettings' => [
          'test-setting' => 'azAZ09();.,\\\/-_{}',
        ],
      ],
    ];
  }

}
−15

File deleted.