Skip to content

Commit

Permalink
fix sonar issues
Browse files Browse the repository at this point in the history
  • Loading branch information
stormer-wc committed Mar 31, 2024
1 parent 55e81f0 commit 8e08457
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
@ComponentScan.Filter(
type = FilterType.ASSIGNABLE_TYPE,
classes = JwtAuthFilter.class))
public class ProductControllerTest {
class ProductControllerTest {

@Autowired private MockMvc mockMvc;

Expand All @@ -44,7 +44,7 @@ public void setup() {

@Test
@DisplayName("should return all product")
public void shouldReturnAllProduct() throws Exception {
void shouldReturnAllProduct() throws Exception {
// Given

// When & Then
Expand All @@ -58,7 +58,7 @@ public void shouldReturnAllProduct() throws Exception {

@Test
@DisplayName("should return product")
public void shouldReturnProduct() throws Exception {
void shouldReturnProduct() throws Exception {
// Given
String sku = "PROMO-1";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
@ComponentScan.Filter(
type = FilterType.ASSIGNABLE_TYPE,
classes = JwtAuthFilter.class))
public class ShopperControllerTest {
class ShopperControllerTest {

@Autowired private MockMvc mockMvc;

Expand All @@ -45,7 +45,7 @@ public void setup() {

@Test
@DisplayName("should return all users")
public void getAllUsers_ShouldReturnAllUsers() throws Exception {
void getAllUsers_ShouldReturnAllUsers() throws Exception {
// Given

// When & Then
Expand All @@ -59,7 +59,7 @@ public void getAllUsers_ShouldReturnAllUsers() throws Exception {

@Test
@DisplayName("should return shopper response")
public void shouldReturnShopperResponse() throws Exception {
void shouldReturnShopperResponse() throws Exception {
// Given
String username = "cat";

Expand Down

0 comments on commit 8e08457

Please sign in to comment.