Skip to content

Commit 061ca1d

Browse files
committed
Fix renaming from path to name in unit test
1 parent 412fc49 commit 061ca1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/snippets_test.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ public function test_fetch_enabled_snippets_scss(): void {
145145
// Enable a builtin snippet directly via the DB.
146146
$snippet = $DB->get_record(
147147
'theme_boost_union_snippets',
148-
['source' => 'theme_boost_union', 'path' => 'visual_depth.scss']
148+
['source' => 'theme_boost_union', 'name' => 'visual_depth.scss']
149149
);
150150
$snippet->enabled = 1;
151151
$DB->update_record('theme_boost_union_snippets', $snippet);

0 commit comments

Comments
 (0)