stable
Clone or download
Read-only
This change is part of story #22696 configure mattermost bots at project level How to test: * Create a system bot with a Name and Webhook url * Create a project bot with the sane Name and Webhook url, it should work * You should not be able to create 2 system bots or 2 project bots with the same name and webhook url Change-Id: Id869984e02228a7a94877bd8d156774851b6c016
Modified Files
Name | ||||
---|---|---|---|---|
M | include/BotMattermost/Bot/BotDao.php | +16 | −2 | Go to diff View file |
M | include/BotMattermost/Bot/BotFactory.php | +7 | −3 | Go to diff View file |
A | tests/unit/BotMattermost/Bot/BotFactoryTest.php | +63 | −0 | Go to diff View file |