MDL-67790 core_contentbank: Unit and behat tests for renaming content
[moodle.git] / contentbank / contenttype / h5p / tests / content_h5p_test.php
index a4082f8..657a459 100644 (file)
@@ -51,14 +51,14 @@ class contenttype_h5p_content_plugin_testcase extends advanced_testcase {
 
         // Create a dummy file.
         $filename = 'content.h5p';
-        $dummy = array(
+        $dummy = [
             'contextid' => \context_system::instance()->id,
             'component' => 'contentbank',
             'filearea' => 'public',
             'itemid' => $content->get_id(),
             'filepath' => '/',
             'filename' => $filename
-        );
+        ];
         $fs = get_file_storage();
         $fs->create_file_from_string($dummy, 'dummy content');