Skip to content

Conversation

@nbaars
Copy link
Collaborator

@nbaars nbaars commented Oct 26, 2024

No description provided.

Always been a bit of an ugly construction, as none of the dependencies are clear. The constructors are hidden due to autowiring the base class. This PR removes two of the fields.

As a bonus we now wire the authentication principal directly in the controllers.
No more need to get the current lesson set in a session. The lesson is now passed to the endpoints.
@nbaars nbaars force-pushed the nbaars/test-containers branch from 117dbbe to 499f54a Compare October 26, 2024 07:18
Since we have Windows specific paths let's run it standalone for now. We need to run these tests on Docker as well (for now disabled)
@nbaars nbaars force-pushed the nbaars/test-containers branch from df6b49c to ab22f6f Compare October 26, 2024 08:38
@nbaars nbaars changed the title Use Testcontainer for testing WebGoat Remove WebGoat session object Oct 26, 2024
@nbaars nbaars merged commit ab06890 into main Oct 26, 2024
@nbaars nbaars deleted the nbaars/test-containers branch October 26, 2024 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants