Removed dirties context on any tests
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package com.example.loan;
|
||||
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
@ConfigurationProperties("service")
|
||||
public class ServiceProperties {
|
||||
|
||||
private int port = 8080;
|
||||
|
||||
public void setPort(int port) {
|
||||
this.port = port;
|
||||
}
|
||||
|
||||
public int getPort() {
|
||||
return this.port;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user