[News] Don't fetch motd in unit tests
It's unreliable and not a unit we should test
This commit is contained in:
parent
13cffeba17
commit
4d177e3c3f
@ -160,7 +160,7 @@ namespace Components
|
||||
}).detach();
|
||||
});
|
||||
|
||||
if (!Utils::IsWineEnvironment())
|
||||
if (!Utils::IsWineEnvironment() && !Loader::PerformingUnitTests())
|
||||
{
|
||||
News::Terminate = false;
|
||||
News::Thread = std::thread([]()
|
||||
|
Loading…
Reference in New Issue
Block a user