mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Use non-static class for ApiContext to improve testability.
This commit is contained in:
@@ -46,7 +46,6 @@ class BunqRoutine implements RoutineInterface
|
||||
*
|
||||
* The final status of the routine must be "provider_finished".
|
||||
*
|
||||
* @return bool
|
||||
* @throws FireflyException
|
||||
*/
|
||||
public function run(): void
|
||||
@@ -86,6 +85,7 @@ class BunqRoutine implements RoutineInterface
|
||||
break;
|
||||
}
|
||||
}
|
||||
throw new FireflyException(sprintf('bunq import routine cannot handle status "%s"', $this->importJob->status)); // @codeCoverageIgnore
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user