Skip to content

Commit

Permalink
match new code
Browse files Browse the repository at this point in the history
  • Loading branch information
GlazerMann committed May 17, 2024
1 parent 1550ce2 commit 23ae09e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/phpunit/constantsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,8 @@ public function testWhiteListNotBlacklisted(): void {
['episode-link', 'mailing-list', 'map-url', 'series-link', 'coauthors ' ], $text);
$text = str_replace(['titlelink', 'nocat', 'nocat', ' embargo', 'conferenceurl', 'contributionurl', 'laydate', 'laysource', 'layurl', 'sectionurl', 'seriesno', 'timecaption', 'titlelink'],
['title-link', 'no-tracking', 'no-tracking', ' pmc-embargo-date', 'conference-url', 'contribution-url', 'lay-date', 'lay-source', 'lay-url', 'section-url', 'series-no', 'time-caption', 'title-link'], $text);
$text = str_replace(['subjectlink', 'transcripturl', '| name = ', 'extrait'],
['subject-link', 'transcript-url', '| author = ', 'quote' ], $text);
$text = str_replace(['subjectlink', 'transcripturl', '| name = ', 'extrait', 'deadlink'],
['subject-link', 'transcript-url', '| author = ', 'quote', 'deadurl' ], $text);
if ($prepared->get('doi') === 'Z123Z') {
$prepared->forget('doi-broken-date');
}
Expand Down

0 comments on commit 23ae09e

Please sign in to comment.