Skip to content

Commit

Permalink
Fix auto wizard test.
Browse files Browse the repository at this point in the history
  • Loading branch information
mgruner committed Apr 26, 2024
1 parent 7035a24 commit f6588ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-ci.yaml
Expand Up @@ -44,5 +44,5 @@ jobs:
cd zammad-docker-compose
docker load --input /tmp/zammad-local.tar
docker-compose -f docker-compose.yml -f docker-compose.override.yml -f docker-compose.override-local.yml up --detach
docker cp .github/auto_wizard.json zammad-docker-compose_zammad-railsserver_1:/opt/zammad/var
docker cp .github/auto_wizard.json zammad-docker-compose_zammad-railsserver_1:/opt/zammad/tmp
.github/tests.sh
2 changes: 1 addition & 1 deletion lib/auto_wizard.rb
Expand Up @@ -35,7 +35,7 @@ def self.enabled?

def self.data
auto_wizard_file_location = file_location
raise "So such file #{auto_wizard_file_location}" if !File.file?(auto_wizard_file_location)
raise "The required file #{auto_wizard_file_location} was not found." if !File.file?(auto_wizard_file_location)

JSON.parse(File.read(auto_wizard_file_location))
end
Expand Down

0 comments on commit f6588ae

Please sign in to comment.