Skip to content

Commit

Permalink
fix teset
Browse files Browse the repository at this point in the history
  • Loading branch information
GlazerMann authored Dec 27, 2024
1 parent 649403d commit c9931d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/phpunit/zoteroTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -637,14 +637,14 @@ public function testZoteroResponse36(): void {
$template = $this->make_citation($text);
$url = 'www.nsw.gov.au/sss';
Zotero::process_zotero_response($zotero_response, $template, $url, $access_date);
$this->assertSame('cite journal', $template->wikiname());
$this->assertSame('cite web', $template->wikiname());
$this->assertSame('Billy', $template->get2('title'));
$this->assertSame('X', $template->get2('work'));

$template = $this->make_citation($text);
$url = 'NotOnAnyList';
Zotero::process_zotero_response($zotero_response, $template, $url, $access_date);
$this->assertSame('cite journal', $template->wikiname());
$this->assertSame('cite web', $template->wikiname());
$this->assertSame('Billy', $template->get2('title'));
$this->assertSame('X', $template->get2('work'));
}
Expand Down

0 comments on commit c9931d8

Please sign in to comment.