Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing Bitbucket cloud optional user properties issue #388

Conversation

abel3cl
Copy link
Contributor

@abel3cl abel3cl commented Oct 23, 2020

Issue
Made BitbucketClout.User accountId and nickname optional

Copy link
Member

@f-meloni f-meloni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you :)

@@ -70,6 +70,18 @@ final class BitBucketCloudTests: XCTestCase {
}
}

func testCommentUserWithoutAccountId() {
do {
let comment = try JSONDecoder().decode(BitBucketCloud.Comment.self, from: Data(BitBucketCloudCommentUserWithoutAccountIdAndNickname.utf8))

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • ⚠️ Line should be 140 characters or less: currently 150 characters (line_length)

@danger-public
Copy link

Warnings
⚠️

Tests/DangerTests/BitBucketCloudTests.swift#L15 - Collection literals should not have trailing commas. (trailing_comma)

⚠️

Tests/DangerTests/BitBucketCloudTests.swift#L39 - Collection literals should not have trailing commas. (trailing_comma)

⚠️

Tests/DangerTests/BitBucketCloudTests.swift#L59 - Collection literals should not have trailing commas. (trailing_comma)

Generated by 🚫 Danger Swift against a6d996a

@f-meloni f-meloni merged commit b46fed8 into danger:master Oct 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants