-
Notifications
You must be signed in to change notification settings - Fork 0
NGR-1133 - Added new did you get money from landlord page #67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
|
app/uk/gov/hmrc/ngrraldfrontend/controllers/DidYouGetMoneyFromLandlordController.scala
Outdated
Show resolved
Hide resolved
app/uk/gov/hmrc/ngrraldfrontend/models/forms/DidYouGetMoneyFromLandlordForm.scala
Show resolved
Hide resolved
app/uk/gov/hmrc/ngrraldfrontend/controllers/DidYouGetMoneyFromLandlordController.scala
Outdated
Show resolved
Hide resolved
app/uk/gov/hmrc/ngrraldfrontend/controllers/DidYouGetMoneyFromLandlordController.scala
Outdated
Show resolved
Hide resolved
} | ||
case RentFreePeriodPage => _ => uk.gov.hmrc.ngrraldfrontend.controllers.routes.RentDatesAgreeStartController.show(NormalMode) | ||
case ConfirmBreakClausePage => _ => uk.gov.hmrc.ngrraldfrontend.controllers.routes.LandlordController.show(NormalMode) //TODO This needs to be amended when the journey is completed | ||
case DidYouGetMoneyFromLandlordPage => _ => uk.gov.hmrc.ngrraldfrontend.controllers.routes.LandlordController.show(NormalMode) //TODO This needs to be amended when the journey is completed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please link your previous page
test/uk/gov/hmrc/ngrraldfrontend/controllers/DidYouGetMoneyFromLandlordControllerSpec.scala
Show resolved
Hide resolved
class DidYouGetMoneyFromLandlordFormSpec extends AnyFlatSpec with Matchers { | ||
|
||
val validData = Map( | ||
"didYouGetMoneyFromLandlord-radio-value" -> "Yes" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
true?
|
||
it should "fail when no is selected" in { | ||
val data = Map( | ||
"didYouGetMoneyFromLandlord-radio-value" -> "No", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
false?
|
No description provided.