Skip to content

Commit

Permalink
Add missing dependencymanager call, fixes text crash
Browse files Browse the repository at this point in the history
  • Loading branch information
daleglass committed Jun 2, 2024
1 parent 09e5a60 commit 70662da
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/networking/src/ResourceTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#include <NodeList.h>
#include <NetworkAccessManager.h>
#include <DependencyManager.h>
#include <ResourceRequestObserver.h>
#include <StatTracker.h>

QTEST_MAIN(ResourceTests)
Expand All @@ -29,6 +30,8 @@ void ResourceTests::initTestCase() {
DependencyManager::set<NodeList>(NodeType::Agent, INVALID_PORT);
DependencyManager::set<ResourceCacheSharedItems>();
DependencyManager::set<ResourceManager>();
DependencyManager::set<ResourceRequestObserver>();

const qint64 MAXIMUM_CACHE_SIZE = 1024 * 1024 * 1024; // 1GB

// set up the file cache
Expand Down

0 comments on commit 70662da

Please sign in to comment.