From 5c3903ed6562d1783071dd5aa424341bfc717c23 Mon Sep 17 00:00:00 2001 From: eWallah Date: Sat, 22 Sep 2018 15:48:46 +0200 Subject: [PATCH] php 7.1 - coverage -text --- .travis.yml | 4 ++-- tests/format_masonry_test.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4d113c3..eb381a7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,7 +22,7 @@ cache: - $HOME/.npm php: - - 7.0 + - 7.1 - 7.2 env: @@ -56,7 +56,7 @@ script: - moodle-plugin-ci savepoints - moodle-plugin-ci mustache - moodle-plugin-ci grunt - - moodle-plugin-ci phpunit + - moodle-plugin-ci phpunit --coverage-text - moodle-plugin-ci behat - moodle-plugin-ci behat --profile chrome - moodle-plugin-ci phpunit --coverage-clover diff --git a/tests/format_masonry_test.php b/tests/format_masonry_test.php index cfd8e32..65aa744 100644 --- a/tests/format_masonry_test.php +++ b/tests/format_masonry_test.php @@ -217,7 +217,7 @@ public function test_renderer() { $page->requires->js_init_call('M.masonry.init', [[ 'node' => '#coursemasonry', 'itemSelector' => '.section.main', 'columnWidth' => 1, 'isRTL' => right_to_left()]], false, - ['name' => 'course_format_masonry','fullpath' => '/course/format/masonry/format.js', + ['name' => 'course_format_masonry', 'fullpath' => '/course/format/masonry/format.js', 'requires' => ['base', 'node', 'transition', 'event', 'io-base', 'moodle-core-io', 'moodle-core-dock']]); $renderer = new \format_masonry_renderer($page, null); ob_start();