puffproject / test-runner

Backend microservice managing user code uploads and running test cases
MIT License
0 stars 0 forks source link

Fix JUnit 5 tests #15

Closed benjaminkostiuk closed 3 years ago

benjaminkostiuk commented 3 years ago

Overview

Fixes the JUnit tests for context loads and implements a single bare-bones test to make sure mocking is working. Couldn't figure out how to mock the security so just removed it for all endpoints (will fix later).

This is a stop-gap measure to let me bring in the CI and unblock @OZoneGuy so he can start writing tests without having to fix them himself.

This change is a

Description

Motivation/Links

This unblocks @OZoneGuy to write tests without having to fix them. Also allows me to start to implement the CI for this repo.

How was this tested?

Running mvn test now passes without issue.

Todos

benjaminkostiuk commented 3 years ago

Part 1 of #2.