Bugzilla – Attachment 68833 Details for
Bug 19243
Selenium test for testing the administration module functionality - part 1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19243: Change to use ENV and fix passwords
Bug-19243-Change-to-use-ENV-and-fix-passwords.patch (text/plain), 1.54 KB, created by
Mark Tompsett
on 2017-10-30 05:00:43 UTC
(
hide
)
Description:
Bug 19243: Change to use ENV and fix passwords
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2017-10-30 05:00:43 UTC
Size:
1.54 KB
patch
obsolete
>From c33a14826979bd4ea14bb9a356b28f21de6675fa Mon Sep 17 00:00:00 2001 >From: Mark Tompsett <mtompset@hotmail.com> >Date: Mon, 30 Oct 2017 04:59:39 +0000 >Subject: [PATCH] Bug 19243: Change to use ENV and fix passwords > >--- > t/db_dependent/selenium/administration_tasks.t | 14 ++++++++------ > 1 file changed, 8 insertions(+), 6 deletions(-) > >diff --git a/t/db_dependent/selenium/administration_tasks.t b/t/db_dependent/selenium/administration_tasks.t >index ed3db0d..6ed1561 100644 >--- a/t/db_dependent/selenium/administration_tasks.t >+++ b/t/db_dependent/selenium/administration_tasks.t >@@ -33,10 +33,12 @@ use MARC::Field; > use t::lib::Selenium; > > my $dbh = C4::Context->dbh; >-my $login = 'koha'; >-my $password = 'koha'; >-my $base_url= 'http://'.C4::Context->preference("staffClientBaseURL")."/cgi-bin/koha/"; >-my $opac_url= C4::Context->preference("OPACBaseURL"); >+my $login = $ENV{KOHA_USER} || 'koha'; >+my $password = $ENV{KOHA_PASS} || 'koha'; >+my $staff_client_base_url = >+ $ENV{KOHA_INTRANET_URL} || C4::Context->preference("staffClientBaseUrl") || q{}; >+my $base_url= $staff_client_base_url . "/cgi-bin/koha/"; >+my $opac_url = $ENV{KOHA_OPAC_URL} || C4::Context->preference("OPACBaseURL") || q{}; > > BEGIN { > my $debug = $ENV{DEBUG}; >@@ -54,8 +56,8 @@ our $sample_data = { > surname => 'test_patron_surname', > cardnumber => '4242424242', > userid => 'test_username', >- password => 'password', >- password2 => 'password' >+ password => 'Password123', >+ password2 => 'Password123' > }, > }; > >-- >2.1.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 19243
:
66788
|
67433
|
67492
|
67493
|
67494
|
67495
|
67496
|
67497
|
68123
|
68124
|
68125
|
68832
|
68833
|
69757
|
69939
|
70160
|
70161
|
70162
|
70163
|
70164
|
70268
|
70269
|
70270