Skip to content

Commit 50d86fe

Browse files
committed
Add test for redact alias
1 parent a473bca commit 50d86fe

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

tests/FiltererTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,12 @@ public function provideValidFilterData() : array
216216
'options' => [],
217217
'result' => [true, ['field' => 'I'], null, []],
218218
],
219+
'redact alias' => [
220+
'spec' => ['field' => [['redact', ['other'], '*']]],
221+
'input' => ['field' => 'one or other'],
222+
'options' => [],
223+
'result' => [true, ['field' => 'one or *****'], null, []],
224+
],
219225
];
220226
}
221227

0 commit comments

Comments
 (0)