Skip to content

Conversation

@SimonHuette
Copy link
Contributor

Here is the finished version of PVModelTest.scala.

This PR is related to Issue #646

@sebastian-peter sebastian-peter added this to the Version 4.0 milestone Feb 8, 2024
Copy link
Member

@sebastian-peter sebastian-peter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor remarks from my side that are (hopefully) easy to fix. Good work!

@SimonHuette
Copy link
Contributor Author

I noticed that the constructor for PvInput is no longer working here. I looked it up and think it is because of the input parameter "EmInput" which is missing. Is that something that was only recently added to the PvInput class?

@danielfeismann
Copy link
Member

Yes, this change was introduced with #751. Before the em was told which entities he controlls. We changed this, so now the entities, here the PV, needs to get an em (or none, if the pv is not em controlled). However, it should work if you add null, you can compare with PvModelTest.

Copy link
Member

@danielfeismann danielfeismann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work, I guess we're already done! I only miss a changelog entry and since all tests are transfered you could delete PvModelTest.groovy

@danielfeismann danielfeismann added the test Issues related to (unit) tests label Apr 2, 2024
Copy link
Member

@danielfeismann danielfeismann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks very good to me, thanks for your work done here.

@danielfeismann danielfeismann merged commit 68bcf46 into dev Apr 15, 2024
@danielfeismann danielfeismann deleted the sh/#646-rewrite-groovy-test-to-scala-test branch April 15, 2024 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test Issues related to (unit) tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants