Extend dummy factory in tests

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2020-12-08 16:52:34 +01:00
parent edc207b6c7
commit 85e6cbc87a
No known key found for this signature in database
GPG Key ID: 4C614C6ED2CDE6DF
1 changed files with 6 additions and 0 deletions

View File

@ -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 {
}
}