Closed scouillard closed 1 year ago
We are testing: a server can't be created if the server already exists, based on the id/hostname.
This test was skipped/failing because the redis objects do not persist in between it contexts.
it
In this case, server1 is wiped before server2 is saved - and no error is raised, as expected.
Create server1 and server2 in same context to fix the problem.
Kudos, SonarCloud Quality Gate passed!
0 Bugs 0 Vulnerabilities 0 Security Hotspots 0 Code Smells
No Coverage information No Duplication information
Description
We are testing: a server can't be created if the server already exists, based on the id/hostname.
This test was skipped/failing because the redis objects do not persist in between
it
contexts.In this case, server1 is wiped before server2 is saved - and no error is raised, as expected.
Create server1 and server2 in same context to fix the problem.