stable

Clone or download

Read-only

Fix: Bot edition should check that result does not exist

This change is part of story #22696 configure mattermost bots at project level How to test: * Create two project or system bots with a Name and Webhook url * Edit one of them without any change => you should get an error * Edit one of them to match the other one => you should get an error Change-Id: I50beb0b41bcedbe61f519997205b810fd2a5d4e0

Modified Files

Name
M include/BotMattermost/Administration/Project/EditBotController.php +3 −1 Go to diff View file
M include/BotMattermost/Bot/BotDao.php +28 −0 Go to diff View file
M include/BotMattermost/Bot/BotEditor.php +4 −0 Go to diff View file
M include/BotMattermost/Bot/BotFactory.php +52 −4 Go to diff View file
M include/BotMattermost/Controller/AdminController.php +2 −1 Go to diff View file
A include/BotMattermost/Exception/EmptyUpdateException.php +34 −0 Go to diff View file
M include/BotMattermost/Presenter/BotPresenter.php +2 −2 Go to diff View file
M site-content/fr_FR/LC_MESSAGES/tuleap-botmattermost.po +3 −0 Go to diff View file
M tests/unit/BotMattermost/Bot/BotFactoryTest.php +75 −0 Go to diff View file