diff --git a/AmplifyTests/CoreTests/AmplifyPublisherTests.swift b/AmplifyTests/CoreTests/AmplifyPublisherTests.swift index dcdab6ed19..013cea0015 100644 --- a/AmplifyTests/CoreTests/AmplifyPublisherTests.swift +++ b/AmplifyTests/CoreTests/AmplifyPublisherTests.swift @@ -325,7 +325,7 @@ class AmplifyPublisherTests: XCTestCase { return nil } else { if fails && current > 4 { - throw Failure.unluckyNumber + throw AmplifyPublisherTests.Failure.unluckyNumber } else { return current }