public function ActionDeleteTest::testDeleteAdministrationAccount in User Merge 2.x
Test deletion of user with id 1.
Throws
\Drupal\usermerge\Exception\UserMergeException
File
- tests/
src/ Kernel/ ActionDeleteTest.php, line 41
Class
- ActionDeleteTest
- Class ActionDeleteTest.
Namespace
Drupal\Tests\usermerge\KernelCode
public function testDeleteAdministrationAccount() {
$this
->setExpectedException(UserMergeException::class, 'You can not retire user 1.');
$this->action
->process($this->users['user1'], $this->users['user2']);
}