Bugzilla – Attachment 65261 Details for
Bug 18982
selenium tests needs too many prerequisites
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18982: Use KOHA_INTRANET_URL instead of syspref staffClientBaseURL
Bug-18982-Use-KOHAINTRANETURL-instead-of-syspref-s.patch (text/plain), 1.13 KB, created by
Jonathan Druart
on 2017-07-25 20:02:44 UTC
(
hide
)
Description:
Bug 18982: Use KOHA_INTRANET_URL instead of syspref staffClientBaseURL
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-07-25 20:02:44 UTC
Size:
1.13 KB
patch
obsolete
>From 78d77163af407dc639764cdf1b8936b8f0f715d6 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 25 Jul 2017 14:37:27 -0300 >Subject: [PATCH] Bug 18982: Use KOHA_INTRANET_URL instead of syspref > staffClientBaseURL > >That way we do not need to set the syspref, we can define it setting an >env var, like other tests. > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > t/db_dependent/selenium/basic_workflow.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/t/db_dependent/selenium/basic_workflow.t b/t/db_dependent/selenium/basic_workflow.t >index 2a91923a44..e2602686f6 100644 >--- a/t/db_dependent/selenium/basic_workflow.t >+++ b/t/db_dependent/selenium/basic_workflow.t >@@ -48,7 +48,7 @@ use MARC::Field; > my $dbh = C4::Context->dbh; > my $login = 'koha'; > my $password = 'koha'; >-my $base_url= 'http://'.C4::Context->preference("staffClientBaseURL")."/cgi-bin/koha/"; >+my $base_url= ( $ENV{KOHA_INTRANET_URL} || 'http://'.C4::Context->preference("staffClientBaseURL") ) . "/cgi-bin/koha/"; > > my $number_of_biblios_to_insert = 3; > our $sample_data = { >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 18982
:
65261
|
65262
|
65263
|
65264
|
65268
|
65269
|
65270
|
65271
|
65282