Skip to content

Commit 582c886

Browse files
committed
Register TYPE_RULE in mock source/destination supported resources
1 parent dfce1ef commit 582c886

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

tests/Migration/Unit/Adapters/MockDestination.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ public static function getSupportedResources(): array
5858
Resource::TYPE_TOPIC,
5959
Resource::TYPE_SUBSCRIBER,
6060
Resource::TYPE_MESSAGE,
61+
Resource::TYPE_RULE,
6162
];
6263
}
6364

tests/Migration/Unit/Adapters/MockSource.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ public static function getSupportedResources(): array
8888
Resource::TYPE_SUBSCRIBER,
8989
Resource::TYPE_MESSAGE,
9090
Resource::TYPE_BACKUP_POLICY,
91+
Resource::TYPE_RULE,
9192

9293
// legacy
9394
Resource::TYPE_DOCUMENT,

0 commit comments

Comments
 (0)