public function ActionBlockTest::testDeleteAdministrationAccount in User Merge 2.x
Test deletion of user with id 1.
Throws
\Drupal\usermerge\Exception\UserMergeException
File
- tests/
src/ Kernel/ ActionBlockTest.php, line 41
Class
- ActionBlockTest
- Class ActionBlockTest.
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']);
}