Add unit test coverage for LanguageNegotiationBrowser

Created on 22 April 2020, about 5 years ago
Updated 20 March 2023, about 2 years ago

Problem/Motivation

While functional tests are great, language negotiation is very complex, and a poorly understood bug introduced in one layer and fixed in another could easily slip by a functional test.
(from parent issue)

LanguageNegotiationBrowser has no unit tests at the moment.

Proposed resolution

Add unit tests for the following methods - if possible - of LanguageNegotiationBrowser:

  • ::getLangcode()

Remaining tasks

πŸ“Œ Task
Status

Needs work

Version

10.1 ✨

Component
Language systemΒ  β†’

Last updated 7 days ago

  • Maintained by
  • πŸ‡©πŸ‡ͺGermany @sun
Created by

πŸ‡¨πŸ‡­Switzerland stefanos.petrakis@gmail.com Biel, Switzerland

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024