BUG Fix deprecated use of statics in test cases
Merge pull request #3125 from tractorcow/pulls/3.1/configtest

BUG Fix deprecated use of statics in test cases