Fixed some bugs

2 jobs for master in 2 minutes and 56 seconds (queued for 3 seconds)
Status Name Job ID Coverage
  Build
passed build #4146

00:01:31

 
  Test
passed unitTests #4147

00:01:24