Skip to content

Commit

Permalink
Issue #483: Update bcbb to patch taxonomy_manager to fix edit permiss…
Browse files Browse the repository at this point in the history
…ion bug
  • Loading branch information
lkmorlan committed May 23, 2024
1 parent a3c9200 commit 5414283
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
11 changes: 7 additions & 4 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -869,8 +869,14 @@ public function test(): void {
// Search block exists.
$this->assertSession()->elementExists('xpath', '//div[contains(@class, "bcbb-search-api-form")]');

// Test that home page text block can be edited by the DC admin.
// Login as admin.
$this->drupalLogin($this->users['Test Data catalogue administrator']);

// Test that admin has permission to edit using taxonomy_manager.
$this->drupalGet('taxonomy_manager/term/' . $document_type_1->id() . '/edit');
$this->assertSession()->statusCodeEquals(200);

// Test that home page text block can be edited by the DC admin.
// Put test text onto the block.
$this->drupalGet('admin/content/block');
$this->assertSession()->statusCodeEquals(200);
Expand Down

0 comments on commit 5414283

Please sign in to comment.