diff --git a/AWSAutoScalingTests/AWSAutoScalingTests.m b/AWSAutoScalingTests/AWSAutoScalingTests.m index 48f761e825d..10c8678ba77 100644 --- a/AWSAutoScalingTests/AWSAutoScalingTests.m +++ b/AWSAutoScalingTests/AWSAutoScalingTests.m @@ -92,7 +92,6 @@ -(void)testAttachInstancesFailed { XCTAssertNotNil(task.error, @"Expected ValidationError error not found."); XCTAssertEqual(task.error.code, 0); XCTAssertTrue([@"ValidationError" isEqualToString:task.error.userInfo[@"Code"]]); - XCTAssertTrue([@"Instance ID(s) must be provided" isEqualToString:task.error.userInfo[@"Message"]]); return nil; }]waitUntilFinished];