-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add middleware support #371
Conversation
[client setServerZone:EU]; | ||
XCTAssertEqualObjects(kAMPEventLogEuUrl, [client valueForKey:@"serverUrl"]); | ||
} | ||
|
||
- (void)testSetServerZoneWithoutUpdateServerUrl { | ||
Amplitude *client = [Amplitude instanceWithName:@"eu_zone_2"]; | ||
XCTAssertEqualObjects(kAMPEventLogUrl, [client valueForKey:@"serverUrl"]); | ||
[client initializeApiKey:@"eu_api_ket"]; | ||
[client initializeApiKey:@"eu_api_key"]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
XCTAssertEqualObjects([event objectForKey:@"device_model"], deviceModel); | ||
} | ||
|
||
- (void)testRunWithNotPassMiddleware { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
testRunWithoutPassMiddleware?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NotPassMiddleware
is the name of middleware, trying to test if it stops on further action
🎉 This PR is included in version 8.6.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Summary
Checklist