Skip to content

Commit

Permalink
fix broken test.
Browse files Browse the repository at this point in the history
  • Loading branch information
uzulla committed Mar 17, 2021
1 parent 07aa84e commit 67127a7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function generateSampleCategories(string $blog_id, $parent_id = 0, int $n
$errors = $categories_model->validate($insert_data, $data);

if (count($errors) > 0) {
if ("Same name exists in the same hierarchy"/*"同一階層に同じ名前が存在しています"*/ === ($errors['name'] ?? false)) {
if (/*"Same name exists in the same hierarchy"*/"同一階層に同じ名前が存在しています" === ($errors['name'] ?? false)) {
continue;
}

Expand Down

0 comments on commit 67127a7

Please sign in to comment.