Extend dummy factory in tests

Signed-off-by: Julius Härtl <jus@bitgrid.net>
pull/24605/head
Julius Härtl 4 years ago
parent edc207b6c7
commit 85e6cbc87a
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF

@ -4362,6 +4362,9 @@ class DummyFactory implements IProviderFactory {
public function getAllProviders() {
return [$this->provider];
}
public function registerProvider(string $shareProvier): void {
}
}
class DummyFactory2 extends DummyFactory {
@ -4378,4 +4381,7 @@ class DummyFactory2 extends DummyFactory {
public function getAllProviders() {
return [$this->provider, $this->provider2];
}
public function registerProvider(string $shareProvier): void {
}
}

Loading…
Cancel
Save