Permalink
Browse files

Altered test for User::delete method

  • Loading branch information...
1 parent 055ccba commit 4bf6d31e3709be176706e86a7347efa159dc2bbf @Lezas Lezas committed Feb 13, 2017
Showing with 3 additions and 1 deletion.
  1. +3 −1 tests/Unit/Application/Model/UserTest.php
@@ -1250,7 +1250,9 @@ public function testDelete()
$oUser = oxNew('oxUser');
$oUser->load($sUserId);
- $oUser->delete();
+ $bSuccess = $oUser->delete();
+
+ $this->assertEquals(true, $bSuccess);
$aWhat = array('oxuser' => 'oxid',
'oxaddress' => 'oxuserid',

0 comments on commit 4bf6d31

Please sign in to comment.