Skip to content

Commit

Permalink
fix(tests): Remove duplicated method (#420)
Browse files Browse the repository at this point in the history
* Remove duplicated method

* Add bugfix branches to verification workflow
  • Loading branch information
rafaelmag110 authored Aug 21, 2024
1 parent 2b9378e commit e905ec4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
description: optional version of upstream EDC components to use
push:
pull_request:
branches: [ main ]
branches: [ main, bugfix/* ]
paths-ignore:
- '**.md'
- 'docs/**'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,4 @@ private static InputStreamDataSource createDataSource(String text) {
return new InputStreamDataSource(SOURCE_OBJECT_NAME, new ByteArrayInputStream(new byte[0]));
}

private static InputStreamDataSource createDataSource(String text) {
var content = StringUtils.isBlank(text) ? "test stream" : text;
return new InputStreamDataSource(SOURCE_OBJECT_NAME, new ByteArrayInputStream(content.getBytes(UTF_8)));
}
}

0 comments on commit e905ec4

Please sign in to comment.