We should refactor the namespace for OrderBrowserTestBase to the Functional namespace. Currently it is just in the root Drupal\Tests\commerce_order. However, it only provides helper methods that would be utilized by Functional and FunctionalJavascript tests.

Comments

mglaman created an issue. See original summary.

joshmiller’s picture

Status: Active » Needs review
StatusFileSize
new481 bytes

Not sure if this is all that needed to be changed. #soComplex

bojanz’s picture

Status: Needs review » Needs work

You need to move the file to reflect the new location and update any use statements relying on it.

joshmiller’s picture

Status: Needs work » Needs review
StatusFileSize
new4.52 KB

Ah, a good lesson to learn: namespaces mean something :)

smccabe’s picture

Status: Needs review » Reviewed & tested by the community

Patch looks good to me, looks like you caught all the instances of it, as well as use statements and folder structure

mglaman’s picture

Status: Reviewed & tested by the community » Needs review

Let's get a PR up.

bojanz’s picture

Status: Needs review » Needs work

https://travis-ci.org/drupalcommerce/commerce/jobs/137871002

We need to kill the use statements, they are unneeded cause the base class is now in the same namespace as the test classes.

joshmiller’s picture

StatusFileSize
new4.2 KB

Killed all the use statements mentioned in the failed travis tests.

Pull Request: https://github.com/drupalcommerce/commerce/pull/417

Josh

EDIT: Added link to PR

joshmiller’s picture

Status: Needs work » Needs review

  • joshmiller committed 6617f86 on 8.x-2.x
    Issue #2747917 by joshmiller, smccabe: OrderBrowserTestBase should be in...
  • mglaman authored b8441b5 on 8.x-2.x
    Merge pull request #417 from joshmiller83/issue-2747917-08
    
    Issue #...
mglaman’s picture

Status: Needs review » Fixed

Thanks! Merged!

  • harings_rob committed b34f81c on 8.x-2.x
    Merge branch '8.x-2.x' of https://git.drupal.org/project/commerce into...

Status: Fixed » Closed (fixed)

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