mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-21 01:41:46 +03:00
e370d33378
refs https://github.com/TryGhost/Team/issues/694 - This refactor is not ideal but moves us closer to the desired form of class with injectable (and testable) parameters. Allowed to refactor the test slightly so at least we can check if schedulerd subscribed events work and if they trigger the adapter with correct data - Ideally the api/model calls shoudl be abstracted away as well, but that's for another time - Also got rid of completely pointless "adapters/scheduling" unit test. All it was checking was if the "init" method was called int the passe in object |
||
---|---|---|
.. | ||
index.js | ||
post-scheduler.js | ||
scheduler-intergation.js | ||
scheduling-auth-token.js |