Skip to content

Commit

Permalink
fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
VitorVieiraZ committed Nov 14, 2024
1 parent 965c176 commit 0cf8f76
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/test/testmerginapi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2994,6 +2994,9 @@ void TestMerginApi::testDownloadWithNetworkError()
LocalProject localProject = mApi->localProjectsManager().projectFromMerginName( mWorkspaceName, projectName );
QVERIFY( !localProject.isValid() );

// Disconnect all signals
disconnect( mApi, &MerginApi::downloadItemsStarted, this, nullptr );

// Restore the original manager
QNetworkAccessManager *originalManager = new QNetworkAccessManager( this );
mApi->setNetworkManager( originalManager );
Expand Down

1 comment on commit 0cf8f76

@inputapp-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

iOS - version 24.11.693811 just submitted!

Please sign in to comment.