From d6fac4c34b057da029a0f891dc28d85493ba28cb Mon Sep 17 00:00:00 2001 From: Yasuo Honda Date: Wed, 18 Aug 2021 08:35:18 +0900 Subject: [PATCH] Restore `alter user hr identified by hr account unlock;` This statement was removed at #201 for GitHub Actions, which is necessary for Travis CI as follows. https://app.travis-ci.com/github/rsim/ruby-plsql/jobs/531997440 ``` OCIError: ORA-28000: the account is locked ``` --- spec/support/unlock_and_setup_hr_user.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/support/unlock_and_setup_hr_user.sql b/spec/support/unlock_and_setup_hr_user.sql index 2f683521..1cd91154 100644 --- a/spec/support/unlock_and_setup_hr_user.sql +++ b/spec/support/unlock_and_setup_hr_user.sql @@ -1,3 +1,4 @@ create user hr identified by hr; +alter user hr identified by hr account unlock; grant dba to hr; grant execute on dbms_lock to hr;