Files
mostlymatter/api4
Agniva De Sarker 9adf06e122 MM-42092: Add better debugging for TestDeleteChannel (#19872)
When the test fails, it is not clear whether the method
returned an error or it returned a channel with DeleteAt
set to 0. The if condition was also incorrect because
if the error was not-nil the condition would evaluate
to true and the test would pass.

We split the condition into 2 separate cases which will
let us know exactly what is failing.

https://mattermost.atlassian.net/browse/MM-42092

```release-note
NONE
```
2022-03-31 10:43:41 +05:30
..
2022-02-28 15:01:00 +05:30
2021-09-01 14:43:12 +02:00
2022-03-22 11:41:31 +03:00
2022-02-28 15:01:00 +05:30
2021-09-01 14:43:12 +02:00
2021-08-17 16:08:04 -04:00
2022-02-17 12:34:39 -05:00
2022-02-28 15:01:00 +05:30