Closed ubaldop closed 8 years ago
Thank you very much!
I did not think someone could sit down and try to understand and change those particular parts of code, they have a lot of things together.
I will need to test it tomorrow before merging because it is an important part of Aton. I will keep you updated. 🙋
Hi @P3trur0.
Thank you for your contribution.
I just tested the change and it does not seem like sorting the rooms, I do not really know why. I studied your code and it should work.
I will merge it and look for the problem.
Hi @camilosampedro glad to hear that :smiley: Are you considering also to setup a set of unit tests?
Yeah, actually I need to create unit test for the most important parts of Aton.
The problem is that I tried to do some under test
folder, but neither activator test
or sbt test
recognized them. (There is a Unit Test class for a controller there).
Do you know how to make them run? Anyway I will create an issue for that 😃.
Hi @camilosampedro, I've introduced ScalaTest dependency.
Issue solved is #12
services.impl.LaboratoryServiceImpl.get(id: Long)
method.Please note that, since the Option[Room] filtering is already defined by the new for comprehension, this filtering is no more necessary.