Closed panekzogen closed 5 years ago
is there a way to add an integration test for this change?
I has no access to your integration environment. Pull request doesn't run CI as i can see.
I can write only some "fish". But you have integration test for attachments reading WikiManagerIT.getSpecificWikiPageByProject()
marked as ignored with comment requires manual configuration, see the source code
which makes more doubts that test will executed successfully
I booted up the VM with the dev Redmine server as well as Jenkins for builds in "master" branch. you should be able to run integration tests against that server now.
Still cant understand how can i run integration test. Could you please explain what i should do?
I booted up the dev server again. when you run "gradle build", it will run tests among other things
Ok, thank you. I executed my test successfully but one of your tests (com.taskadapter.redmineapi.TimeEntryManagerIT
) still cant connect, timeout exception.
NOTE: There is one thing that attachments sends with key uploads
but received with key attachments
. Seems not healthy but works fine
@taomWTP thank you fix the bug fix, I pushed the new version to OSS Sonatype, it will be auto-synced to Maven Central soon.
@alexeyOnGitHub thank you for fast resolving this problem. Will wait new version
Continue from issue #314 Problem was not only in renaming json key. Attachments were never sent.
RedmineJSONBuilder
didn't have any attachments processing.Added test for JSON object check. Also tested on the real redmine