Skip to content

Commit

Permalink
fix date format, test names (#22833: Short-term admin accounts)
Browse files Browse the repository at this point in the history
  • Loading branch information
lfolco committed Mar 3, 2020
1 parent 3a67bc8 commit b03b0a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
-->
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
<test name="AdminUserCreateNewUserWithInvalidExpirationTest">
<test name="AdminCreateNewUserWithInvalidExpirationTest">
<annotations>
<features value="Security"/>
<stories value="Create new user with invalid expiration date."/>
Expand All @@ -26,7 +26,7 @@
</after>

<actionGroup ref="AdminOpenNewUserPageActionGroup" stepKey="openNewUserPage" />
<generateDate date="-5 day" format="M d, Y g:i:s A" stepKey="expiresDateTime"/>
<generateDate date="-5 day" format="M j, Y g:i:s A" stepKey="expiresDateTime"/>
<actionGroup ref="AdminFillInUserWithExpirationActionGroup" stepKey="fillInNewUserWithValidExpiration">
<argument name="expires_at" value="{$expiresDateTime}"/>
</actionGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
-->
<tests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Test/etc/testSchema.xsd">
<test name="AdminUserCreateNewUserWithValidExpirationTest">
<test name="AdminCreateNewUserWithValidExpirationTest">
<annotations>
<features value="Security"/>
<stories value="Create new user with valid expiration date."/>
Expand All @@ -25,7 +25,7 @@
</after>

<actionGroup ref="AdminOpenNewUserPageActionGroup" stepKey="openNewUserPage" />
<generateDate date="+5 day" format="M d, Y g:i:s A" stepKey="expiresDateTime"/>
<generateDate date="+5 day" format="M j, Y g:i:s A" stepKey="expiresDateTime"/>
<actionGroup ref="AdminFillInUserWithExpirationActionGroup" stepKey="fillInNewUserWithValidExpiration">
<argument name="expires_at" value="{$expiresDateTime}"/>
</actionGroup>
Expand Down

0 comments on commit b03b0a0

Please sign in to comment.