Skip to content

Commit e483133

Browse files
committed
Fix tests for AccountResourceIT with Redis
1 parent e15092e commit e483133

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generators/server/templates/src/test/java/package/web/rest/AccountResourceIT.java.ejs

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import <%= packageName %>.service.UserService;
3535
3636
import org.junit.jupiter.api.BeforeEach;
3737
import org.junit.jupiter.api.Test;
38-
<%_ if (databaseType === 'neo4j') { _%>
38+
<%_ if (databaseType === 'neo4j' || cacheProvider === 'redis') { _%>
3939
import org.junit.jupiter.api.extension.ExtendWith;
4040
<%_ } _%>
4141
import org.springframework.beans.factory.annotation.Autowired;

0 commit comments

Comments
 (0)