function StageOwnershipTest::testOwnershipEnforcedWhenLoggedOut

Tests only the owner of stage can perform operations, even if logged out.

File

core/modules/package_manager/tests/src/Kernel/StageOwnershipTest.php, line 45

Class

StageOwnershipTest
Tests that ownership of the stage is enforced.

Namespace

Drupal\Tests\package_manager\Kernel

Code

public function testOwnershipEnforcedWhenLoggedOut() : void {
  $this->assertOwnershipIsEnforced($this->createStage(), $this->createStage());
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.