From e1a4422a22a4ce90e4981324dd6ce981d0e638bc Mon Sep 17 00:00:00 2001 From: Adrian Manikowski Date: Wed, 20 Nov 2024 10:36:51 +0000 Subject: [PATCH 1/4] VM - Liferay - test --- vm/tests/solutions/spec/liferay/liferay_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vm/tests/solutions/spec/liferay/liferay_spec.rb b/vm/tests/solutions/spec/liferay/liferay_spec.rb index 0b642d0ef4..f18a9b54a0 100644 --- a/vm/tests/solutions/spec/liferay/liferay_spec.rb +++ b/vm/tests/solutions/spec/liferay/liferay_spec.rb @@ -1,4 +1,4 @@ -# Copyright 2021 Google LLC +# Copyright 2024 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -21,7 +21,7 @@ end describe 'Liferay bundle should exists' do - describe file('/opt/liferay/readme.html') do + describe file('/opt/liferay-portal/readme.html') do it { should exist } end end From 558dba53094b9cb10abf887e1a2b5f65a984f7f6 Mon Sep 17 00:00:00 2001 From: Adrian Manikowski Date: Wed, 20 Nov 2024 10:50:16 +0000 Subject: [PATCH 2/4] VM - Liferay - test --- vm/tests/solutions/spec/liferay/liferay_spec.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/vm/tests/solutions/spec/liferay/liferay_spec.rb b/vm/tests/solutions/spec/liferay/liferay_spec.rb index f18a9b54a0..b0f06a92e1 100644 --- a/vm/tests/solutions/spec/liferay/liferay_spec.rb +++ b/vm/tests/solutions/spec/liferay/liferay_spec.rb @@ -20,12 +20,6 @@ end end -describe 'Liferay bundle should exists' do - describe file('/opt/liferay-portal/readme.html') do - it { should exist } - end -end - describe 'Liferay service script should exists' do describe file('/etc/systemd/system/liferay.service') do it { should exist } From e850ffbb0f2ec51cfb49f1dc6de5dae7cc79417a Mon Sep 17 00:00:00 2001 From: Adrian Manikowski Date: Wed, 20 Nov 2024 11:04:35 +0000 Subject: [PATCH 3/4] VM - Liferay - test --- vm/tests/solutions/spec/liferay/liferay_spec.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/vm/tests/solutions/spec/liferay/liferay_spec.rb b/vm/tests/solutions/spec/liferay/liferay_spec.rb index b0f06a92e1..1b1ed34c0e 100644 --- a/vm/tests/solutions/spec/liferay/liferay_spec.rb +++ b/vm/tests/solutions/spec/liferay/liferay_spec.rb @@ -20,6 +20,12 @@ end end +describe 'Liferay bundle should exists' do + describe file('/opt/liferay/tomcat/readme.html') do + it { should exist } + end +end + describe 'Liferay service script should exists' do describe file('/etc/systemd/system/liferay.service') do it { should exist } From 6a72651270233c20252e99560ec55dd5dec67b95 Mon Sep 17 00:00:00 2001 From: Adrian Manikowski Date: Wed, 20 Nov 2024 11:19:09 +0000 Subject: [PATCH 4/4] VM - Liferay - test --- vm/tests/solutions/spec/liferay/liferay_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm/tests/solutions/spec/liferay/liferay_spec.rb b/vm/tests/solutions/spec/liferay/liferay_spec.rb index 1b1ed34c0e..9c0ec26eea 100644 --- a/vm/tests/solutions/spec/liferay/liferay_spec.rb +++ b/vm/tests/solutions/spec/liferay/liferay_spec.rb @@ -21,7 +21,7 @@ end describe 'Liferay bundle should exists' do - describe file('/opt/liferay/tomcat/readme.html') do + describe file('/opt/liferay/bundles/liferay/readme.html') do it { should exist } end end