-
Notifications
You must be signed in to change notification settings - Fork 1
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
DEVEXP-256: Add timezone response plugin #8
Conversation
|
||
expect(result.timestamp).toBe(TIMESTAMP_WITH_MISSING_TIMEZONE); | ||
}); | ||
}); |
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.
What happens when API is updated but SDK is not,
Can you check for case when correct timezone is returned in response?
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.
New test added
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.
Not required but another test with a +XX
timezone format could ensure regexp coverage
|
||
expect(result.timestamp).toBe(TIMESTAMP_WITH_MISSING_TIMEZONE); | ||
}); | ||
}); |
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.
Not required but another test with a +XX
timezone format could ensure regexp coverage
This new response plugin is (hopefully) a temporary hack to add the missing timezone (assumption taken it's
Z
) for the API response where it's missing.