-
Notifications
You must be signed in to change notification settings - Fork 196
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
[tests-only][full-ci] Test for flaky share expiration email #11010
base: master
Are you sure you want to change the base?
Conversation
29bd46a
to
662b753
Compare
5687f0f
to
d46058e
Compare
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.
after this PR #10920 gets merged, add expiry step and check mail in same scenario
d46058e
to
43269fb
Compare
5463f92
to
fd8d35d
Compare
fd8d35d
to
fb06f2c
Compare
|
* @throws GuzzleException|JsonException | ||
*/ | ||
public function expireResourceShare(string $user, string $resource, string $spaceName): ResponseInterface { | ||
$rows['expireDate'] = $this->featureContext->formatExpiryDateTime('Y-m-d\\TH:i:sP'); |
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.
$rows['expireDate'] = $this->featureContext->formatExpiryDateTime('Y-m-d\\TH:i:sP'); | |
$rows['expireDate'] = $this->featureContext->formatExpiryDateTime('Y-m-d\\TH:i:sP'); |
Can we run tests locally with this format?
Do we even care about timezone P represents the timezone offset (e.g., +00:00, -05:00).
Could you try this format $date->format('Y-m-d H:i:s');
Description
Demonstration of test for #11001
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: