You are here

protected property OgRoleCacheContextTest::$database in Organic groups 8

Same name in this branch
  1. 8 tests/src/Unit/Cache/Context/OgRoleCacheContextTest.php \Drupal\Tests\og\Unit\Cache\Context\OgRoleCacheContextTest::database
  2. 8 tests/src/Kernel/Cache/Context/OgRoleCacheContextTest.php \Drupal\Tests\og\Kernel\Cache\Context\OgRoleCacheContextTest::database

The mocked database connection.

Type: \Drupal\Core\Database\Connection|\Prophecy\Prophecy\ObjectProphecy

File

tests/src/Unit/Cache/Context/OgRoleCacheContextTest.php, line 47

Class

OgRoleCacheContextTest
Tests the OG role cache context.

Namespace

Drupal\Tests\og\Unit\Cache\Context

Code

protected $database;