Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 292847

Convert system functional tests to phpunit /Routing/DestinationTest.php

$
0
0

Follow up from #2982149: Page/Routing/Render/Session: Convert system functional tests to phpunit

First apply patch from #4 then work on this.

At least this needs to be fixed:

$this->drupalGet('system-test/get-destination', ['query' => ['destination' => $test_case['input']]]);
      $this->assertIdentical($test_case['output'], $this->getRawContent(), $test_case['message']);
      // Test $_REQUEST['destination'].
      $post_output = $this->drupalPost('system-test/request-destination', '*', ['destination' => $test_case['input']]);
      $this->assertIdentical($test_case['output'], $post_output, $test_case['message']);

Viewing all articles
Browse latest Browse all 292847

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>