You are here

public function SubscriptionControllerTest::memberProvider in Organic groups 8

Provides test data to test members unsubscribe.

Return value

array Array with the membership state.

File

tests/src/Unit/SubscriptionControllerTest.php, line 212

Class

SubscriptionControllerTest
Tests the subscription controller.

Namespace

Drupal\Tests\og\Unit

Code

public function memberProvider() {
  return [
    [
      OgMembershipInterface::STATE_ACTIVE,
    ],
    [
      OgMembershipInterface::STATE_PENDING,
    ],
  ];
}