diff --git a/lib/dkdeploy/typo3/cms/tasks/typo3.rake b/lib/dkdeploy/typo3/cms/tasks/typo3.rake index 9edd4d5..1a55e0e 100644 --- a/lib/dkdeploy/typo3/cms/tasks/typo3.rake +++ b/lib/dkdeploy/typo3/cms/tasks/typo3.rake @@ -217,7 +217,7 @@ namespace :typo3 do desc 'Update translations for core and extensions (l10n)' task :update_translations, :typo3_languages_to_translate do |_, args| typo3_languages_to_translate = ask_variable(args, :typo3_languages_to_translate, 'questions.typo3_languages_to_translate') - typo3_cli 'lang:language:update', typo3_languages_to_translate + typo3_console 'lang:language:update', typo3_languages_to_translate end desc 'Remove not needed extensions' diff --git a/spec/fixtures/capistrano/configuration/cli_break_after_one_run_in_release_path.rb b/spec/fixtures/capistrano/configuration/cli_break_after_one_run_in_release_path.rb index 50b6923..19c2553 100644 --- a/spec/fixtures/capistrano/configuration/cli_break_after_one_run_in_release_path.rb +++ b/spec/fixtures/capistrano/configuration/cli_break_after_one_run_in_release_path.rb @@ -2,7 +2,7 @@ namespace :cms do namespace :cli do task 'break_after_one_run' do |_, args| - capture_typo3_cli_in_path_in_loop release_path, 3, args.extra do |output| + capture_typo3_console_in_path_in_loop release_path, 3, args.extra do |output| puts output false end diff --git a/spec/fixtures/capistrano/configuration/cli_break_after_three_runs_in_release_path.rb b/spec/fixtures/capistrano/configuration/cli_break_after_three_runs_in_release_path.rb index 766c473..6fbae90 100644 --- a/spec/fixtures/capistrano/configuration/cli_break_after_three_runs_in_release_path.rb +++ b/spec/fixtures/capistrano/configuration/cli_break_after_three_runs_in_release_path.rb @@ -2,7 +2,7 @@ namespace :cms do namespace :cli do task 'break_after_three_runs' do |_, args| - capture_typo3_cli_in_path_in_loop release_path, 3, args.extra do |output| + capture_typo3_console_in_path_in_loop release_path, 3, args.extra do |output| puts output true end diff --git a/spec/fixtures/capistrano/configuration/cli_test_tasks.rb b/spec/fixtures/capistrano/configuration/cli_test_tasks.rb index 49fbc64..461aca5 100644 --- a/spec/fixtures/capistrano/configuration/cli_test_tasks.rb +++ b/spec/fixtures/capistrano/configuration/cli_test_tasks.rb @@ -2,14 +2,14 @@ namespace :cms do namespace :cli do task 'break_after_one_run' do |_, args| - capture_typo3_cli_in_loop 3, args.extra do |output| + capture_typo3_console_in_loop 3, args.extra do |output| puts output false end end task 'break_after_three_runs' do |_, args| - capture_typo3_cli_in_loop 3, args.extra do |output| + capture_typo3_console_in_loop 3, args.extra do |output| puts output true end diff --git a/spec/fixtures/capistrano/configuration/cli_test_tasks_with_path.rb b/spec/fixtures/capistrano/configuration/cli_test_tasks_with_path.rb index 68b0fef..d1644cf 100644 --- a/spec/fixtures/capistrano/configuration/cli_test_tasks_with_path.rb +++ b/spec/fixtures/capistrano/configuration/cli_test_tasks_with_path.rb @@ -4,7 +4,7 @@ # desc 'Execute TYPO3 cli task in Specific directory' # task :run_in_release_path do |task, args| # First agument is directory task 'run_in_release_path' do |task, args| - typo3_cli_in_path(release_path, args.extras) + typo3_console_in_path(release_path, args.extras) # Reenable Task to allow multiple invokation task.reenable end @@ -12,7 +12,7 @@ end end -set :path_to_typo3_cli, File.join('catalog', 'variable_injection_test.phpsh') +set :path_to_typo3_console, File.join('catalog', 'variable_injection_test.phpsh') set :typo3_environment_cli, { CUSTOM_VARIABLE: 1