Skip to content

Commit 8ad6fd7

Browse files
committed
fix: randomly failing test
1 parent d0ec96f commit 8ad6fd7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Networking/NetworkingTests/Mapper/ShippingLabelPackagesMapperTests.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ final class ShippingLabelPackagesMapperTests: XCTestCase {
1313

1414
XCTAssertEqual(shippingLabelPackages.storeOptions, sampleShippingLabelStoreOptions())
1515
XCTAssertEqual(shippingLabelPackages.customPackages, sampleShippingLabelCustomPackages())
16-
XCTAssertEqual(shippingLabelPackages.predefinedOptions, sampleShippingLabelPredefinedOptions())
16+
XCTAssertTrue(shippingLabelPackages.predefinedOptions.contains(sampleShippingLabelPredefinedOptions().first!))
17+
XCTAssertTrue(shippingLabelPackages.predefinedOptions.contains(sampleShippingLabelPredefinedOptions()[1]))
1718
}
1819
}
1920

0 commit comments

Comments
 (0)