Problem/Motivation

When we removed the RDF module from the Standard profile in #3243121: Remove RDF module from the Standard profile we overlooked \Drupal\Tests\system\Functional\Common\NoJavaScriptAnonymousTest.

In that test there is a comment stating This is a list of modules that are enabled in the 'standard' profile..
Since we removed RDF from Standard, it shouldn't be in that array.

Steps to reproduce

Proposed resolution

Remove 'rdf' from \Drupal\Tests\system\Functional\Common\NoJavaScriptAnonymousTest::$modules

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Spokje created an issue. See original summary.

Spokje’s picture

Spokje’s picture

Status: Active » Needs review
catch’s picture

Status: Needs review » Reviewed & tested by the community

Extremely does what it says on the tin issue.

RTBC-ing this and will also commit it in the next day or so, on the assumption that there's no much can go wrong with this six character patch.

longwave’s picture

Wonder if we can refactor that test so it reads the list of modules from Standard, instead of having to maintain two lists.

catch’s picture

I kind of think with that test we could enable every available module (bit like install/uninstall test), and then if we really have to exclude one because it loads of JavaScript for anonymous users, special case it.

quietone’s picture

  • catch committed 90046b0 on 10.0.x
    Issue #3303453 by Spokje: Remove rdf from \Drupal\Tests\system\...
  • catch committed 790442c on 10.1.x
    Issue #3303453 by Spokje: Remove rdf from \Drupal\Tests\system\...
  • catch committed ac66f17 on 9.5.x
    Issue #3303453 by Spokje: Remove rdf from \Drupal\Tests\system\...
catch’s picture

Status: Reviewed & tested by the community » Fixed
Issue tags: +Needs followup

Committed/pushed to 10.1.x, cherry-picked to 10.0.x and 9.5.x, thanks!

Tagging needs follow-up for the anon no JavaScript test refactoring.

Status: Fixed » Closed (fixed)

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

Spokje’s picture