You are here

protected function MemberCountBlockTest::assertCached in Organic groups 8

Checks that the block is cached for the given group.

Parameters

int $group_key: The key of the group for which to check the block cache status.

2 calls to MemberCountBlockTest::assertCached()
MemberCountBlockTest::renderBlock in tests/src/Kernel/Plugin/Block/MemberCountBlockTest.php
Renders the block using the passed in group as the currently active group.
MemberCountBlockTest::testMemberCountBlock in tests/src/Kernel/Plugin/Block/MemberCountBlockTest.php
Tests the member count block.

File

tests/src/Kernel/Plugin/Block/MemberCountBlockTest.php, line 321

Class

MemberCountBlockTest
Tests the member count block.

Namespace

Drupal\Tests\og\Kernel\Plugin\Block

Code

protected function assertCached($group_key) {
  $this
    ->doAssertCached('assertNotEmpty', $group_key);
}