We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d4c90a commit db7b3e3Copy full SHA for db7b3e3
src/Actions/Logs/GetTriggers.php
@@ -22,7 +22,6 @@ public function run(): array
22
->get()
23
->pluck('trigger')
24
->filter() // Remove null values
25
- ->values()
26
->mapWithKeys(fn (string $value) => [$value => $value])
27
->toArray()
28
);
tests/Feature/Logs/GetTriggersTest.php
@@ -20,5 +20,8 @@
20
'trigger' => 'bar',
21
]);
- expect(GetTriggers::resolve()->run())->toEqualCanonicalizing(['foo', 'bar']);
+ expect(GetTriggers::resolve()->run())->toEqualCanonicalizing([
+ 'foo' => 'foo',
+ 'bar' => 'bar',
+ ]);
});
0 commit comments