Skip to content

Commit

Permalink
fixed by comment discussion_r1502262992:
Browse files Browse the repository at this point in the history
  • Loading branch information
thangnn committed Feb 26, 2024
1 parent 358cb63 commit a2b33cb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1775,7 +1775,7 @@ public function testGetCurrentBlogTag($url, $type, $isTag, $expects)
'created' => '2015-08-10 18:57:47',
])->persist();

SiteFactory::make(['id' => 1, 'status' => true])->persist();
SiteFactory::make(['id' => 1])->persist();
$this->Blog->getView()->setRequest($this->getRequest($url)->withAttribute('currentSite', SiteFactory::get(1)));
$this->Blog->getView()->set('blogArchiveType', $type);
//check blog isTag
Expand Down

0 comments on commit a2b33cb

Please sign in to comment.