We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
customers-stores/rest-microservices-customers/src/test/java/example/customers/CustomerRepositoryIntegrationTest.java
Line 48 in f8ca6d7
assertThat(repository.findById(customer.id), is(customer));
Throws an error as it returns type "java.util.Optional" instead of "example.customers.Customer" fixed it by changing assert to.
assertThat(repository.findById(customer.id).get(), is(customer));
The text was updated successfully, but these errors were encountered:
Same here
Sorry, something went wrong.
Still failing in 2021.
No branches or pull requests
customers-stores/rest-microservices-customers/src/test/java/example/customers/CustomerRepositoryIntegrationTest.java
Line 48 in f8ca6d7
assertThat(repository.findById(customer.id), is(customer));
Throws an error as it returns type "java.util.Optional" instead of "example.customers.Customer" fixed it by changing assert to.
assertThat(repository.findById(customer.id).get(), is(customer));
The text was updated successfully, but these errors were encountered: