diff --git a/contrib/auto_wizard_test.json b/contrib/auto_wizard_test.json index 333b6ba52..e69b59135 100644 --- a/contrib/auto_wizard_test.json +++ b/contrib/auto_wizard_test.json @@ -58,10 +58,6 @@ } ], "Settings": [ - { - "name": "developer_mode", - "value": true - }, { "name": "product_name", "value": "Zammad Test System" diff --git a/db/seeds/settings.rb b/db/seeds/settings.rb index c8ef9deaa..85e9c421e 100644 --- a/db/seeds/settings.rb +++ b/db/seeds/settings.rb @@ -72,7 +72,7 @@ Setting.create_if_not_exists( area: 'Core::Develop', description: 'Defines if application is in developer mode (useful for developer, all users have the same password, password reset will work without email delivery).', options: {}, - state: false, + state: Rails.env.development?, preferences: { online_service_disable: true }, frontend: true ) diff --git a/public/assets/tests/core.js b/public/assets/tests/core.js index 5123629cb..57a4f28a7 100644 --- a/public/assets/tests/core.js +++ b/public/assets/tests/core.js @@ -787,14 +787,14 @@ App.Auth.login({ var authWithSession = function() { App.Auth.login({ data: { - username: 'nicole.braun@zammad.org', + username: 'master@example.com', password: 'test', }, success: function(data) { test('auth - existing user', function() { ok(true, 'authenticated') var user = App.Session.get('login') - equal('nicole.braun@zammad.org', user, 'session login') + equal('master@example.com', user, 'session login') }) }, error: function() { @@ -805,4 +805,4 @@ var authWithSession = function() { }); } -} \ No newline at end of file +} diff --git a/spec/system/ticket/create_spec.rb b/spec/system/ticket/create_spec.rb index 791c99fd4..4a7baa24d 100644 --- a/spec/system/ticket/create_spec.rb +++ b/spec/system/ticket/create_spec.rb @@ -6,7 +6,7 @@ RSpec.describe 'Ticket Create', type: :system do context 'when applying ticket templates' do # Regression test for issue #2424 - Unavailable ticket template attributes get applied it 'unavailable attributes do not get applied', authenticated: false do - user = create(:agent_user) + user = create(:agent_user, password: 'test') permitted_group = create(:group) unpermitted_group = create(:group)