Commit dac8869 1 parent ac0a509 commit dac8869 Copy full SHA for dac8869
File tree 7 files changed +25
-27
lines changed
src/test/java/ca/bc/gov/open/clamav/starter
7 files changed +25
-27
lines changed Original file line number Diff line number Diff line change 5
5
6
6
<groupId >ca.bc.gov.open</groupId >
7
7
<artifactId >bambora-payment-starter</artifactId >
8
- <version >1.0.1 </version >
8
+ <version >1.0.2 </version >
9
9
10
10
<properties >
11
11
<java .version>17</java .version>
12
- <spring-boot .version>3.1.3 </spring-boot .version>
12
+ <spring-boot .version>3.3.4 </spring-boot .version>
13
13
<log4j2 .version>2.17.1</log4j2 .version>
14
14
</properties >
15
15
69
69
<dependency >
70
70
<groupId >ca.bc.gov.open</groupId >
71
71
<artifactId >spring-starters-bom</artifactId >
72
- <version >1.0.1 </version >
72
+ <version >1.0.2 </version >
73
73
<type >pom</type >
74
74
<scope >import</scope >
75
75
</dependency >
Original file line number Diff line number Diff line change 5
5
6
6
<groupId >ca.bc.gov.open</groupId >
7
7
<artifactId >spring-starters</artifactId >
8
- <version >1.0.1 </version >
8
+ <version >1.0.2 </version >
9
9
10
10
<name >spring-starters</name >
11
11
<packaging >pom</packaging >
Original file line number Diff line number Diff line change 6
6
7
7
<groupId >ca.bc.gov.open</groupId >
8
8
<artifactId >spring-bceid-starter</artifactId >
9
- <version >1.0.1 </version >
9
+ <version >1.0.2 </version >
10
10
11
11
<properties >
12
12
<java .version>17</java .version>
13
13
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
14
14
<maven .compiler.source>17</maven .compiler.source>
15
15
<maven .compiler.target>17</maven .compiler.target>
16
- <spring-boot .version>3.1.3 </spring-boot .version>
16
+ <spring-boot .version>3.3.4 </spring-boot .version>
17
17
<org .mapstruct.version>1.3.1.Final</org .mapstruct.version>
18
18
<log4j2 .version>2.17.1</log4j2 .version>
19
19
<org .apache.cxf.version>4.0.1</org .apache.cxf.version>
99
99
<dependency >
100
100
<groupId >ca.bc.gov.open</groupId >
101
101
<artifactId >spring-starters-bom</artifactId >
102
- <version >1.0.1 </version >
102
+ <version >1.0.2 </version >
103
103
<type >pom</type >
104
104
<scope >import</scope >
105
105
</dependency >
Original file line number Diff line number Diff line change 6
6
7
7
<groupId >ca.bc.gov.open</groupId >
8
8
<artifactId >spring-clamav-starter</artifactId >
9
- <version >1.0.1 </version >
9
+ <version >1.0.2 </version >
10
10
11
11
<properties >
12
12
<java .version>17</java .version>
13
13
<maven .compiler.source>17</maven .compiler.source>
14
14
<maven .compiler.target>17</maven .compiler.target>
15
- <spring-boot .version>3.1.3 </spring-boot .version>
15
+ <spring-boot .version>3.3.4 </spring-boot .version>
16
16
<org .apache.maven.plugins.version.version>3.1.2</org .apache.maven.plugins.version.version>
17
17
<log4j2 .version>2.17.1</log4j2 .version>
18
18
</properties >
63
63
<dependency >
64
64
<groupId >ca.bc.gov.open</groupId >
65
65
<artifactId >spring-starters-bom</artifactId >
66
- <version >1.0.1 </version >
66
+ <version >1.0.2 </version >
67
67
<type >pom</type >
68
68
<scope >import</scope >
69
69
</dependency >
Original file line number Diff line number Diff line change 1
1
package ca .bc .gov .open .clamav .starter ;
2
2
3
3
import fi .solita .clamav .ClamAVClient ;
4
+ import org .junit .jupiter .api .Assertions ;
4
5
import org .junit .jupiter .api .BeforeEach ;
5
6
import org .junit .jupiter .api .Test ;
6
7
import org .junit .jupiter .api .TestInstance ;
@@ -20,22 +21,19 @@ class AutoConfigurationTest {
20
21
@ BeforeEach
21
22
public void setUp () {
22
23
23
- context = new ApplicationContextRunner ()
24
- .withUserConfiguration (AutoConfiguration .class )
25
- .withPropertyValues ("bcgov.clamav.host=testhost" )
26
- .withPropertyValues ("bcgov.clamav.port=1234" )
27
- .withPropertyValues ("bcgov.clamav.timeout=500" )
28
- .withUserConfiguration (ClamAvProperties .class );
24
+ context = new ApplicationContextRunner ();
29
25
30
26
}
31
27
32
28
@ Test
33
29
void clamAVClient () {
34
- context .run (it -> { assertThat (it ).hasSingleBean (ClamAVClient .class ); });
30
+ context .run (it -> {
31
+ Assertions .assertNotNull (assertThat (it ).getBean (ClamAVClient .class ));
32
+ });
35
33
}
36
-
37
34
@ Test
38
35
void clamAvService () {
39
- context .run (it -> { assertThat (it ).hasSingleBean (ClamAvService .class ); });
40
- }
41
- }
36
+ context .run (it -> {
37
+ Assertions .assertNotNull (assertThat (it ).getBean (ClamAvService .class ));
38
+ });
39
+ }}
Original file line number Diff line number Diff line change 7
7
8
8
<groupId >ca.bc.gov.open</groupId >
9
9
<artifactId >spring-sftp-starter</artifactId >
10
- <version >1.0.1 </version >
10
+ <version >1.0.2 </version >
11
11
12
12
<properties >
13
13
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
14
14
<maven .compiler.source>17</maven .compiler.source>
15
15
<maven .compiler.target>17</maven .compiler.target>
16
- <spring-boot .version>3.1.3 </spring-boot .version>
16
+ <spring-boot .version>3.3.4 </spring-boot .version>
17
17
<log4j2 .version>2.17.1</log4j2 .version>
18
18
</properties >
19
19
79
79
<dependency >
80
80
<groupId >ca.bc.gov.open</groupId >
81
81
<artifactId >spring-starters-bom</artifactId >
82
- <version >1.0.1 </version >
82
+ <version >1.0.2 </version >
83
83
<type >pom</type >
84
84
<scope >import</scope >
85
85
</dependency >
Original file line number Diff line number Diff line change 7
7
8
8
<groupId >ca.bc.gov.open</groupId >
9
9
<artifactId >spring-starters-bom</artifactId >
10
- <version >1.0.1 </version >
10
+ <version >1.0.2 </version >
11
11
12
12
<properties >
13
- <org .apache.cxf.version>4.0.1 </org .apache.cxf.version>
13
+ <org .apache.cxf.version>4.0.4 </org .apache.cxf.version>
14
14
<com .fasterxml.jackson.core.version>2.11.2</com .fasterxml.jackson.core.version>
15
15
<javax .xml.bind.version>2.3.1</javax .xml.bind.version>
16
- <commons .io.version>2.13 .0</commons .io.version>
16
+ <commons .io.version>2.14 .0</commons .io.version>
17
17
<joda-time .version>2.10.6</joda-time .version>
18
18
<org .mapstruct.version>1.3.1.Final</org .mapstruct.version>
19
19
<fi .solita.clamav>1.0.1</fi .solita.clamav>
You can’t perform that action at this time.
0 commit comments