Skip to content

Commit

Permalink
Unique username
Browse files Browse the repository at this point in the history
  • Loading branch information
driusan committed Mar 8, 2023
1 parent 04426f8 commit b5220ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/unittests/UserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -621,6 +621,7 @@ public function testInsert()
$newUserInfo = $this->_userInfo;
$newUserInfo['ID'] = 2;
$newUserInfo['UserID'] = '968776';
$newUserInfo['Email'] = 'notjohn.doe@mcgill.ca';
\User::insert($newUserInfo);
$this->_otherUser = \User::factory('968776');
$this->assertEquals('968776', $this->_otherUser->getUsername());
Expand Down

0 comments on commit b5220ce

Please # to comment.