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

Expand phpunit tests for \Drupal\Component\Utility\Settings

$
0
0

Updated: Comment #0

Problem/Motivation

Settings class has some tests, but is missing some coverage.

Proposed resolution

Note: Settings class does not seem to have any has calls to procedural code which would make it difficult to unit test.

So,
just expand the test coverage.

Remaining tasks

  • check other procedural calls and identify which are wrappers
  • check if there is anything to mock
  • check if there are any UnitTestBase tests to convert to PHPUnit tests

User interface changes

No.

API changes

TBD (no?)


Viewing all articles
Browse latest Browse all 291711

Trending Articles



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