Skip to content

Commit e353525

Browse files
committed
URL PATH of Actions - Controller Methods Refactoring
1 parent 2b34176 commit e353525

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

pom.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,11 @@
363363
<groupId>org.springframework.boot</groupId>
364364
<artifactId>spring-boot-starter-test</artifactId>
365365
</dependency>
366+
<dependency>
367+
<groupId>org.springframework.security</groupId>
368+
<artifactId>spring-security-test</artifactId>
369+
<scope>test</scope>
370+
</dependency>
366371
<dependency>
367372
<groupId>org.postgresql</groupId>
368373
<artifactId>postgresql</artifactId>
@@ -798,7 +803,7 @@
798803
<groupId>org.apache.maven.plugins</groupId>
799804
<artifactId>maven-surefire-plugin</artifactId>
800805
<configuration>
801-
<skipTests>true</skipTests>
806+
<skipTests>false</skipTests>
802807
</configuration>
803808
</plugin>
804809
</plugins>
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
11
package org.woehlke.simpleworklist.userstories;
22

3+
import lombok.extern.slf4j.Slf4j;
4+
import org.junit.jupiter.api.Test;
5+
import org.springframework.boot.test.context.SpringBootTest;
6+
import org.springframework.boot.web.server.LocalServerPort;
7+
8+
@Slf4j
9+
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
310
public class F001ServerStartsTest {
11+
12+
@LocalServerPort
13+
int randomServerPort;
14+
15+
@Test
16+
public void testStartup(){
17+
log.info("testStartup");
18+
}
419
}

0 commit comments

Comments
 (0)