Skip to content

Commit

Permalink
Bump plugin-api to 4.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
fdaugan committed Jan 17, 2024
1 parent d1f3b30 commit 960cf60
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,14 @@ jobs:
name: Build and analyze
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: s4u/setup-maven-action@v1.10.0
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'temurin'
cache: 'maven'
checkout-fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
java-version: 21
java-distribution: 'corretto'
cache-path-add: ~/.sonar/cache
cache-prefix: ${{ runner.os }}-sonar
maven-version: 3.9.4
- name: maven-settings-xml-action
uses: whelk-io/maven-settings-xml-action@v21
with:
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.ligoj.api</groupId>
<artifactId>plugin-parent</artifactId>
<version>4.0.5</version>
<version>4.1.4</version>
<relativePath />
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class OwnCloudPluginResourceTest extends AbstractServerTest {
@BeforeEach
void prepareData() throws IOException {
// Only with Spring context
persistEntities("csv", new Class[]{Node.class, Parameter.class, Project.class, Subscription.class, ParameterValue.class},
persistEntities("csv", new Class<?>[]{Node.class, Parameter.class, Project.class, Subscription.class, ParameterValue.class},
StandardCharsets.UTF_8);
this.subscription = getSubscription("Jupiter");

Expand Down Expand Up @@ -210,11 +210,11 @@ void findAllByName() throws Exception {

final List<Directory> projects = resource.findAllByName("service:storage:owncloud:dig", "p5");
Assertions.assertEquals(1, projects.size());
Assertions.assertEquals(8321, projects.get(0).getId().intValue());
Assertions.assertEquals("P5-p0", projects.get(0).getName());
Assertions.assertEquals(8321, projects.getFirst().getId().intValue());
Assertions.assertEquals("P5-p0", projects.getFirst().getName());

// Size is never computed in this mode
Assertions.assertEquals(0, projects.get(0).getSize());
Assertions.assertEquals(0, projects.getFirst().getSize());
}

}

0 comments on commit 960cf60

Please sign in to comment.