Skip to content
Snippets Groups Projects
Commit 93e96a5a authored by tpylak's avatar tpylak
Browse files

LMS-2225 fix integration tests

SVN: 21332
parent a7668e4f
No related branches found
No related tags found
No related merge requests found
...@@ -260,6 +260,7 @@ public class ImagingDatabaseHelper ...@@ -260,6 +260,7 @@ public class ImagingDatabaseHelper
private Map<String, Long> getOrCreateChannels(ChannelOwner channelOwner, private Map<String, Long> getOrCreateChannels(ChannelOwner channelOwner,
List<Channel> channels) List<Channel> channels)
{ {
fillMissingChannelColors(channels);
if (channelOwner.tryGetExperimentId() != null) if (channelOwner.tryGetExperimentId() != null)
{ {
long expId = channelOwner.tryGetExperimentId(); long expId = channelOwner.tryGetExperimentId();
...@@ -295,7 +296,6 @@ public class ImagingDatabaseHelper ...@@ -295,7 +296,6 @@ public class ImagingDatabaseHelper
private Map<String, Long> createChannels(ChannelOwner channelOwner, List<Channel> channels) private Map<String, Long> createChannels(ChannelOwner channelOwner, List<Channel> channels)
{ {
Map<String, Long> map = new HashMap<String, Long>(); Map<String, Long> map = new HashMap<String, Long>();
fillMissingChannelColors(channels);
for (Channel channel : channels) for (Channel channel : channels)
{ {
ImgChannelDTO channelDTO = createChannel(channel, channelOwner); ImgChannelDTO channelDTO = createChannel(channel, channelOwner);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment