mock getChannel to fix tests
2 files changed