Skip to content

Commit 9260dc3

Browse files
committed
Update DBS test for new API behaviour
Previously the API would only return the admin password during creation as it was transient. This has been revised and is now stored encrypted and is returned in other API requests such as a GET request. The test is therefore incorrectly reporting errors against the new behaviour and needed updating.
1 parent b1e148a commit 9260dc3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/brightbox/models/compute/database_server_tests.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@
4848
!@database_server.admin_username.nil?
4949
end
5050

51-
test("admin_password is nil") do
52-
@database_server.admin_password.nil?
51+
test("admin_password is not nil") do
52+
!@database_server.admin_password.nil?
5353
end
5454
end
5555

0 commit comments

Comments
 (0)