Skip to content

Commit

Permalink
Create DataLoader.java
Browse files Browse the repository at this point in the history
Added a Dataloader class to skip post construct behavior in test case. This empty class takes precedence over the application class of the same class name.
  • Loading branch information
nhkhai committed Mar 30, 2024
1 parent df9b565 commit 9fc4fa1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/test/java/sg/com/smartinventory/utility/DataLoader.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package sg.com.smartinventory.utility;

import org.springframework.context.annotation.Primary;

@Primary
public class DataLoader {

}

0 comments on commit 9fc4fa1

Please sign in to comment.