View Issue Details

IDProjectCategoryView StatusLast Update
0035212mantisbttoolspublic2025-01-06 07:59
Reporterdregad Assigned Todregad  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Target Version2.28.0Fixed in Version2.28.0 
Summary0035212: GetLinkAttributesTest does not reset html_make_links config after tests
Description

The system's state should not be altered after a test's execution.

TagsNo tags attached.

Relationships

parent of 0035211 resolveddregad Core should allow detecting whether a config is set in the database 

Activities

Related Changesets

MantisBT: master 71608cbb

2024-12-29 19:03

dregad


Details Diff
Tests: add methods to set/restore configs

- MantisCoreBase::setConfig() sets the given configuration and returns
its old value
- MantisCoreBase::restoreConfig() restores a configuration to its
initial state

Fixes 0035212
Affected Issues
0035212
mod - tests/Mantis/MantisCoreBase.php Diff File

MantisBT: master d1760b0e

2024-12-29 19:10

dregad


Details Diff
GetLinkAttributesTest: restore previous config value

Fixes 0035212
Affected Issues
0035212
mod - tests/Mantis/Helper/GetLinkAttributesTest.php Diff File