mirror of
https://github.com/shlinkio/shlink.git
synced 2026-02-28 04:03:12 +08:00
Implement command to manage redirect rules for a short URL
This commit is contained in:
@@ -18,7 +18,7 @@ class ListRedirectRulesTest extends ApiTestCase
|
||||
'matchValue' => 'en',
|
||||
];
|
||||
private const QUERY_FOO_BAR_CONDITION = [
|
||||
'type' => 'query',
|
||||
'type' => 'query-param',
|
||||
'matchKey' => 'foo',
|
||||
'matchValue' => 'bar',
|
||||
];
|
||||
@@ -53,7 +53,7 @@ class ListRedirectRulesTest extends ApiTestCase
|
||||
'priority' => 2,
|
||||
'conditions' => [
|
||||
[
|
||||
'type' => 'query',
|
||||
'type' => 'query-param',
|
||||
'matchKey' => 'hello',
|
||||
'matchValue' => 'world',
|
||||
],
|
||||
|
||||
@@ -19,7 +19,7 @@ class SetRedirectRulesTest extends ApiTestCase
|
||||
'matchValue' => 'en',
|
||||
];
|
||||
private const QUERY_FOO_BAR_CONDITION = [
|
||||
'type' => 'query',
|
||||
'type' => 'query-param',
|
||||
'matchKey' => 'foo',
|
||||
'matchValue' => 'bar',
|
||||
];
|
||||
@@ -75,7 +75,7 @@ class SetRedirectRulesTest extends ApiTestCase
|
||||
'priority' => 2,
|
||||
'conditions' => [
|
||||
[
|
||||
'type' => 'query',
|
||||
'type' => 'query-param',
|
||||
'matchKey' => 'hello',
|
||||
'matchValue' => 'world',
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user