PLT-5109/PLT-5112 Fixed commented out unit tests (#4951)

* Removed note about unconfirmed race condition

* Fixed unit tests in client_channel.test.jsx

* Fixed updateActive unit test on client
Этот коммит содержится в:
Harrison Healey
2017-01-04 09:30:14 -05:00
коммит произвёл Corey Hulen
родитель c0a5f9fbef
Коммит 63d2851ec7
3 изменённых файлов: 16 добавлений и 35 удалений

Просмотреть файл

@@ -136,7 +136,6 @@ function populateDMChannelsWithProfiles(userIds) {
const currentUserId = UserStore.getCurrentId();
for (let i = 0; i < userIds.length; i++) {
// TODO There's a race condition here for DM channels if those channels aren't loaded yet
const channelName = getDirectChannelName(currentUserId, userIds[i]);
const channel = ChannelStore.getByName(channelName);
if (channel) {