Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jhedstrom’s picture

Status: Active » Needs review
FileSize
2.77 KB

This one also quite straightforward.

dawehner’s picture

+++ b/core/tests/Drupal/Tests/Core/Routing/RouteTest.phpundefined
@@ -2,19 +2,20 @@
+class RouteTest extends UnitTestCase {

This test seems to test the drupal route compiler, not the Route object coming from symfony. Should we reflect that in the name of the test?

dawehner’s picture

Status: Needs review » Needs work

Back to needs work, sorry.

jhedstrom’s picture

Status: Needs work » Needs review
FileSize
2.85 KB
630 bytes

Renamed to reflect that this is actually testing \Drupal\Core\Routing\RouteCompiler.

dawehner’s picture

Status: Needs review » Needs work
+++ b/core/tests/Drupal/Tests/Core/Routing/RouteCompilerTest.phpundefined
@@ -2,19 +2,22 @@
+ * Contains Drupal\Tests\Core\Routing\RouteCompilerTest.
...
+class RouteTest extends UnitTestCase {

You missed to rename the class itself :(

jhedstrom’s picture

Status: Needs work » Needs review
FileSize
2.86 KB
511 bytes

Doh!

dawehner’s picture

Status: Needs review » Reviewed & tested by the community

This looks great now!

catch’s picture

Status: Reviewed & tested by the community » Fixed

Committed/pushed to 8.x, thanks!

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

Updated issue summary.

jhedstrom’s picture