Skip to content

Commit

Permalink
Updating expected exception message for removing test users
Browse files Browse the repository at this point in the history
Since we updated the way our test usernames were generated in the last commit,
we need to update the expected exception message when a user is not found.
  • Loading branch information
Ryan Rathsam committed Mar 30, 2021
1 parent ef07101 commit bf4233f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/component/lib/XDUserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ public function testSaveUserWithDefaultUserType()

/**
* @expectedException Exception
* @expectedExceptionMessageRegExp /User "(\w+)" not found/
* @expectedExceptionMessageRegExp /User "([\w\d.]+)" not found/
*/
public function testRemoveUser()
{
Expand Down

0 comments on commit bf4233f

Please sign in to comment.