Setup unit tests and implements test for the token limit and trivial tests for userRepository
This commit is contained in:
		@ -16,7 +16,6 @@ public class UserService {
 | 
			
		||||
        this.userRepo = userRepo;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    public User getUser(String identifier){
 | 
			
		||||
        if (identifier == null) return null;
 | 
			
		||||
        try {
 | 
			
		||||
 | 
			
		||||
@ -1,2 +1,3 @@
 | 
			
		||||
spring.jpa.hibernate.ddl-auto=create-drop
 | 
			
		||||
spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect
 | 
			
		||||
spring.sql.init.mode=always
 | 
			
		||||
		Reference in New Issue
	
	Block a user