Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: GitStats
Title: Standardized Git Repository Data
Version: 2.5.1.9001
Version: 2.5.2
Authors@R: c(
person(given = "Maciej", family = "Banas", email = "banasmaciek@gmail.com", role = c("aut", "cre")),
person(given = "Kamil", family = "Koziej", email = "koziej.k@gmail.com", role = "aut"),
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# GitStats (development version)
# GitStats 2.5.2

## Improvements

Expand Down
6 changes: 3 additions & 3 deletions tests/testthat/test-01-get_repos-GitLab.R
Original file line number Diff line number Diff line change
Expand Up @@ -1081,7 +1081,7 @@ test_that("`set_owner_type()` identifies organization (group) type", {
)
mockery::stub(
gitlab_resolve_owner_type,
"self$gql_response",
"graphql_response",
gl_group_response
)
result <- gitlab_resolve_owner_type(
Expand All @@ -1103,7 +1103,7 @@ test_that("`set_owner_type()` identifies user type", {
)
mockery::stub(
gitlab_resolve_owner_type,
"self$gql_response",
"graphql_response",
gl_user_response
)
result <- gitlab_resolve_owner_type(
Expand All @@ -1119,7 +1119,7 @@ test_that("`set_owner_type()` identifies user type", {
test_that("`set_owner_type()` returns 'not found' when owner does not exist", {
mockery::stub(
gitlab_resolve_owner_type,
"self$gql_response",
"graphql_response",
list("data" = list("user" = NULL, "group" = NULL))
)
result <- gitlab_resolve_owner_type(
Expand Down
4 changes: 2 additions & 2 deletions tests/testthat/test-GitHost-helpers.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
test_that("set_owner_types sets attributes to owners list", {
mockery::stub(
github_resolve_owner_type,
"self$gql_response",
"graphql_response",
test_fixtures$github_user_login
)
owner <- github_resolve_owner_type(
Expand All @@ -15,7 +15,7 @@ test_that("set_owner_types sets attributes to owners list", {

mockery::stub(
github_resolve_owner_type,
"self$gql_response",
"graphql_response",
test_fixtures$github_org_login
)
owner <- github_resolve_owner_type(
Expand Down
Loading