Skip to content

Commit

Permalink
fix bug (#3048)
Browse files Browse the repository at this point in the history
  • Loading branch information
nghiem-mb authored Jan 19, 2024
1 parent f395c3d commit fcf486d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -967,7 +967,7 @@ public function testGetCategories()

// option type year
$result = $this->Blog->getCategories(['blogContentId'=>1, 'type' => 'year']);
$this->assertEquals('name-2', $result['2015'][0]->name);
$this->assertEquals('name-5', $result['2015'][0]->name);

// option viewCount true
$result = $this->Blog->getCategories(['blogContentId'=>1, 'viewCount' => true]);
Expand Down

0 comments on commit fcf486d

Please sign in to comment.