Bugzilla – Attachment 65268 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.17 KB, created by
Biblibre Sandboxes
on 2017-07-26 07:40:53 UTC
(
hide
)
Description:
Bug 18982: Use KOHA_INTRANET_URL instead of syspref staffClientBaseURL
Filename:
MIME Type:
Creator:
Biblibre Sandboxes
Created:
2017-07-26 07:40:53 UTC
Size:
1.17 KB
patch
obsolete
>From ed4e9dcf15422ccb7110b41fcf580885fe903b7f 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> > >Signed-off-by: Andrei <acovaliov@gmail.com> >--- > 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 2a91923..e260268 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.7.4
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