I have a problem in running any
test method in service test and controller test in one of the spring boot microservices (order service).
After I completed service and controller , I tried to write their test methods but I have a problem in there.
How can I fix it?
Here is one of the test method of OrderServiceTest shown below
Here is one of the test method of OrderControllerTest shown below.
Here is the error when I run any method of service test and controller shown below.
**To run the app,**
1 ) Run Service Registery (Eureka Server)
2 ) Run config server
3 ) Run zipkin and redis through these commands shown below on docker
4 ) Run api gateway
5 ) Run other services
Here is the repo : [Link][1]
Here is the **result of the service test** screenshot : [Link][2]
Here is the **result of the controller test** screenshot : [Link][3]
[1]:
https://github.com/Rapter1990/microservicecoursedailybuffer
[2]:
https://ibb.co/FwmdLLS
[3]:
https://ibb.co/MZwD22Q