nextcloud / nextcloud/android-library

check test: testSetTwitter

Open
#1,671 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Kotlin
Stars
105
Forks
99
Avg merge
2d 22h
Merged PRs (30d)
21

Description

Test is failing:

org.junit.ComparisonFailure: expected:<[@]Nextclouders> but was:<[]Nextclouders>
at org.junit.Assert.assertEquals(Assert.java:117)
at org.junit.Assert.assertEquals(Assert.java:146)
at com.owncloud.android.lib.resources.users.SetUserInfoRemoteOperationIT.testSetTwitter(SetUserInfoRemoteOperationIT.java:143)

Has this maybe changed on server side?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with SetUserInfoRemoteOperationIT.testSetTwitter at line 143 and inspect the failing expected and actual Twitter values. Check whether the current server response explains the missing @ before updating the test expectation. Done means the intended server behavior is confirmed and the integration test passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
api, testing-qa
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.