From a160154eab3b1550a0524f618a9582dfc2f2a3d4 Mon Sep 17 00:00:00 2001 From: Alfred Mazimbe Date: Tue, 10 Sep 2024 14:54:06 +0100 Subject: [PATCH] Update maven test to give correct output --- tests/smoke-maven-group-multidir.yaml | 212 +------------------------- 1 file changed, 3 insertions(+), 209 deletions(-) diff --git a/tests/smoke-maven-group-multidir.yaml b/tests/smoke-maven-group-multidir.yaml index d8cf6c1..45fa26a 100644 --- a/tests/smoke-maven-group-multidir.yaml +++ b/tests/smoke-maven-group-multidir.yaml @@ -196,215 +196,9 @@ output: - type: create_pull_request expect: data: - base-commit-sha: 56600671ab2495ed67614624740292fb5d54e4f4 - dependencies: - - name: org.springframework.boot:spring-boot-starter-parent - previous-requirements: - - file: pom.xml - groups: [] - metadata: - packaging_type: pom - requirement: 1.5.10.RELEASE - source: null - previous-version: 1.5.10.RELEASE - requirements: - - file: pom.xml - groups: [] - metadata: - packaging_type: pom - requirement: 1.5.12.RELEASE - source: - type: maven_repo - url: https://repo.maven.apache.org/maven2 - version: 1.5.12.RELEASE - directory: /maven/multi-dir/foo - - name: org.springframework.boot:spring-boot-starter-parent - previous-requirements: - - file: pom.xml - groups: [] - metadata: - packaging_type: pom - requirement: 1.5.9.RELEASE - source: null - previous-version: 1.5.9.RELEASE - requirements: - - file: pom.xml - groups: [] - metadata: - packaging_type: pom - requirement: 1.5.12.RELEASE - source: - type: maven_repo - url: https://repo.maven.apache.org/maven2 - version: 1.5.12.RELEASE - directory: /maven/multi-dir/bar - updated-dependency-files: - - content: | - - - 4.0.0 - - com.dependabot - pom-with-parent - 0.0.1-RELEASE - Dependabot POM that inherits from parent POM - jar - - - org.springframework.boot - spring-boot-starter-parent - 1.5.12.RELEASE - - - - - UTF-8 - UTF-8 - 1.8 - - - - - - org.springframework.boot - spring-boot-starter-web - - - - - mysql - mysql-connector-java - - - org.hibernate - hibernate-java8 - - - org.springframework.boot - spring-boot-starter-data-jpa - - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - org.springframework.boot - spring-boot-starter-actuator - - - - org.springframework.boot - spring-boot-configuration-processor - true - - - - content_encoding: utf-8 - deleted: false - directory: /maven/multi-dir/foo - name: pom.xml - operation: update - support_file: false - type: file - - content: | - - - 4.0.0 - - com.dependabot - pom-with-parent - 0.0.1-RELEASE - Dependabot POM that inherits from parent POM - jar - - - org.springframework.boot - spring-boot-starter-parent - 1.5.12.RELEASE - - - - - UTF-8 - UTF-8 - 1.8 - - - - - - org.springframework.boot - spring-boot-starter-web - - - - - mysql - mysql-connector-java - - - org.hibernate - hibernate-java8 - - - org.springframework.boot - spring-boot-starter-data-jpa - - - - - org.springframework.boot - spring-boot-starter-test - test - - - - - org.springframework.boot - spring-boot-starter-actuator - - - - org.springframework.boot - spring-boot-configuration-processor - true - - - - content_encoding: utf-8 - deleted: false - directory: /maven/multi-dir/bar - name: pom.xml - operation: update - support_file: false - type: file - pr-title: Bump the maven group across 2 directories with 1 update - pr-body: | - Bumps the maven group with 1 update in the /maven/multi-dir/foo directory: org.springframework.boot:spring-boot-starter-parent. - Bumps the maven group with 1 update in the /maven/multi-dir/bar directory: org.springframework.boot:spring-boot-starter-parent. - - Updates `org.springframework.boot:spring-boot-starter-parent` from 1.5.10.RELEASE to 1.5.12.RELEASE - - Updates `org.springframework.boot:spring-boot-starter-parent` from 1.5.9.RELEASE to 1.5.12.RELEASE - commit-message: |- - Bump the maven group across 2 directories with 1 update - - Bumps the maven group with 1 update in the /maven/multi-dir/foo directory: org.springframework.boot:spring-boot-starter-parent. - Bumps the maven group with 1 update in the /maven/multi-dir/bar directory: org.springframework.boot:spring-boot-starter-parent. - - - Updates `org.springframework.boot:spring-boot-starter-parent` from 1.5.10.RELEASE to 1.5.12.RELEASE - - Updates `org.springframework.boot:spring-boot-starter-parent` from 1.5.9.RELEASE to 1.5.12.RELEASE - dependency-group: - name: maven + base-commit-sha: "" + dependencies: [] + updated-dependency-files: [] - type: mark_as_processed expect: data: