mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Prevent multiple conversion of the same voice message audio file. (#1887)
This commit is contained in:
@@ -32,7 +32,8 @@ class WaitlistScreenViewModelTests: XCTestCase {
|
||||
XCTAssertTrue(context.viewState.isWaiting, "The view should start off in the waiting state.")
|
||||
|
||||
viewModel.update(userSession: MockUserSession(clientProxy: MockClientProxy(userID: "@alice:matrix.org"),
|
||||
mediaProvider: MockMediaProvider()))
|
||||
mediaProvider: MockMediaProvider(),
|
||||
voiceMessageMediaManager: VoiceMessageMediaManagerMock()))
|
||||
|
||||
XCTAssertNotNil(context.viewState.userSession, "The user session should have been updated.")
|
||||
XCTAssertFalse(context.viewState.isWaiting, "The view should not be in the waiting state after setting a user session.")
|
||||
|
||||
Reference in New Issue
Block a user