Custom Settings are treated as data, not metadata, in test context, and as such are not visible during the test run.
If you need that setting available during the course of your unit test (in Apex or Flow), the test or its associated @testSetup
method needs to create and insert the Custom Setting value.