From 636ec5010f27e30c3a99698414c933b8cc9f1281 Mon Sep 17 00:00:00 2001 From: Dan Poltawski Date: Thu, 6 Oct 2016 17:50:58 +0100 Subject: [PATCH] MDL-56306 tests: make upgrade_util_test compatible with travis --- lib/tests/upgrade_util_test.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/tests/upgrade_util_test.php b/lib/tests/upgrade_util_test.php index db0ae663b0c..bba4cebcd0c 100644 --- a/lib/tests/upgrade_util_test.php +++ b/lib/tests/upgrade_util_test.php @@ -24,6 +24,9 @@ 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. * -- 2.36.1