Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f73f938
)
MDL-56306 tests: make upgrade_util_test compatible with travis
author
Dan Poltawski
<dan@moodle.com>
Thu, 6 Oct 2016 16:50:58 +0000
(17:50 +0100)
committer
Dan Poltawski
<dan@moodle.com>
Thu, 6 Oct 2016 17:01:43 +0000
(18:01 +0100)
lib/tests/upgrade_util_test.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/tests/upgrade_util_test.php
b/lib/tests/upgrade_util_test.php
index
db0ae66
..
bba4ceb
100644
(file)
--- a/
lib/tests/upgrade_util_test.php
+++ b/
lib/tests/upgrade_util_test.php
@@
-24,6
+24,9
@@
defined('MOODLE_INTERNAL') || die();
defined('MOODLE_INTERNAL') || die();
+// Hack to let tests run on travis..
+defined('CURL_SSLVERSION_TLSv1_2') || define('CURL_SSLVERSION_TLSv1_2', 6);
+
/**
* Upgrade utility class tests.
*
/**
* Upgrade utility class tests.
*