You are here

abstract public function ActionTestBase::testExecute in Organic groups 8

Checks if the action can be performed correctly.

@covers ::execute @dataProvider executeProvider

Parameters

string $membership: The membership on which to perform the action.

8 methods override ActionTestBase::testExecute()
AddSingleOgMembershipRoleActionTest::testExecute in tests/src/Kernel/Action/AddSingleOgMembershipRoleActionTest.php
Checks if the action can be performed correctly.
ApprovePendingOgMembershipActionTest::testExecute in tests/src/Kernel/Action/ApprovePendingOgMembershipActionTest.php
Checks if the action can be performed correctly.
BlockOgMembershipActionTest::testExecute in tests/src/Kernel/Action/BlockOgMembershipActionTest.php
Checks if the action can be performed correctly.
ChangeMultipleOgMembershipRolesActionTestBase::testExecute in tests/src/Kernel/Action/ChangeMultipleOgMembershipRolesActionTestBase.php
Checks if the action can be performed correctly.
DeleteOgMembershipActionTest::testExecute in tests/src/Kernel/Action/DeleteOgMembershipActionTest.php
Checks if the action can be performed correctly.

... See full list

File

tests/src/Kernel/Action/ActionTestBase.php, line 202

Class

ActionTestBase
Base class for testing action plugins.

Namespace

Drupal\Tests\og\Kernel\Action

Code

public abstract function testExecute($membership);