Skip to content

Commit 1d06637

Browse files
committed
Fix tests
1 parent 67cfbf9 commit 1d06637

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

module/VuFind/tests/integration-tests/src/VuFindTest/Mink/IlsActionsTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ protected function placeIllRequestAndGoToIllScreen(Element $page): void
123123
$this->waitForPageLoad($page);
124124
$this->assertSame(
125125
'Interlibrary Loan Requests',
126-
$this->findCssAndGetText($page, 'h2')
126+
$this->findCssAndGetText($page, 'h1')
127127
);
128128
}
129129

@@ -158,7 +158,7 @@ protected function placeStorageRetrievalRequestAndGoToSRRScreen(
158158
$this->waitForPageLoad($page);
159159
$this->assertSame(
160160
'Storage Retrieval Requests',
161-
$this->findCssAndGetText($page, 'h2')
161+
$this->findCssAndGetText($page, 'h1')
162162
);
163163
}
164164

module/VuFind/tests/integration-tests/src/VuFindTest/Mink/LibraryCardsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ public function testCardsDisabledByDefault(): void
247247
$this->submitLoginForm($page, false);
248248
$this->waitForPageLoad($page);
249249
// Confirm that we are on the profile page with no cards showing:
250-
$this->assertSame('Your Profile', $this->findCssAndGetText($page, 'h2'));
250+
$this->assertSame('Your Profile', $this->findCssAndGetText($page, 'h1'));
251251
$this->unFindCss($page, '#library_card');
252252
}
253253

0 commit comments

Comments
 (0)