Skip to content

Commit 1a3927f

Browse files
committed
fixed a test
1 parent aceec3d commit 1a3927f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

MatrixSDKTests/Crypto/Verification/Transactions/SAS/MXSASTransactionV2UnitTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,13 @@ class MXSASTransactionV2UnitTests: XCTestCase {
7171

7272
// MARK: - Test State
7373

74-
func test_startedState() {
74+
func test_startedAndCreatedState() {
7575
let incoming = makeTransaction(isIncoming: true)
7676
incoming.onChange(state: .started)
7777
XCTAssertEqual(incoming.state, MXSASTransactionStateIncomingShowAccept)
7878

7979
let outgoing = makeTransaction(isIncoming: false)
80-
outgoing.onChange(state: .started)
80+
outgoing.onChange(state: .created)
8181
XCTAssertEqual(outgoing.state, MXSASTransactionStateOutgoingWaitForPartnerToAccept)
8282
}
8383

0 commit comments

Comments
 (0)