Integrated: 1670: Make body handling consistent in all Issue implementations

Zhao Song zsong at openjdk.org
Wed Nov 16 17:22:45 UTC 2022


On Wed, 9 Nov 2022 19:06:40 GMT, Zhao Song <zsong at openjdk.org> wrote:

> When fixing [SKARA-1658](https://bugs.openjdk.org/browse/SKARA-1658), I found the `TestIssue#body` didn't mimic `GitHubPullRequest#body` and` GitLabMergeRequest#body` properly. So this will block SKARA-1658.
> 
> The `body()` method in `TestIssue` always returns the latest body from the 'remote' instead of the cache. So it behaves different from GitHubPullRequest and GitLabMergeRequest.
> 
> In this patch, `TestIssue#body` will return the cached body like `GitHubPullRequest#body` and `GitLabMergeRequest#body`. Also updated related tests.

This pull request has now been integrated.

Changeset: 371912f1
Author:    Zhao Song <zsong at openjdk.org>
Committer: Erik Joelsson <erikj at openjdk.org>
URL:       https://git.openjdk.org/skara/commit/371912f135016d60b145051bb04769424431df55
Stats:     125 lines in 9 files changed: 0 ins; 0 del; 125 mod

1670: Make body handling consistent in all Issue implementations

Reviewed-by: erikj

-------------

PR: https://git.openjdk.org/skara/pull/1417


More information about the skara-dev mailing list