Skip to content

Commit

Permalink
adjust by year facets to 2021
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Jan 4, 2021
1 parent 9ecbcba commit d506906
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/graphql/types/organization_type_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,7 @@
"count" => 80_248, "id" => "2017", "title" => "2017",
)
expect(response.dig("data", "organizations", "years").last).to eq(
"count" => 513, "id" => "2020", "title" => "2020",
"count" => 513, "id" => "2021", "title" => "2021",
)
end
end
Expand Down
2 changes: 1 addition & 1 deletion spec/graphql/types/person_type_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@
"count" => 44_270, "id" => "2012", "title" => "2012",
)
expect(response.dig("data", "people", "years").last).to eq(
"count" => 1_767_011, "id" => "2020", "title" => "2020",
"count" => 1_767_011, "id" => "2021", "title" => "2021",
)
end
end
Expand Down

0 comments on commit d506906

Please sign in to comment.