Fixed test code according to review comments

6 jobs for new-update-status-api in 5 minutes and 56 seconds (queued for 1 second)
Status Name Job ID Coverage
  .Pre
failed deprecated-pipeline-include #131786
allowed to fail

00:00:09

 
  Build
failed compile-and-unit-test #131787
osdu-medium

00:05:47

 
  Scan
skipped bandit-sast #131789
osdu-medium allowed to fail
skipped gemnasium-maven-dependency_scanning #131788
osdu-large allowed to fail
passed license_scanning #131791
osdu-medium

00:04:10

skipped spotbugs-sast #131790
osdu-large allowed to fail
 
Name Stage Failure
failed
compile-and-unit-test Build
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :workflow-test-azure
xargs: sh: exited with status 255; aborting
ERROR: Job failed: exit code 1
failed
deprecated-pipeline-include .Pre
Reinitialized existing Git repository in /builds/osdu/platform/data-flow/ingestion/ingestion-workflow/.git/
Checking out 92da7c72 as new-update-status-api...

Skipping Git submodules setup
Executing "step_script" stage of the job script
$ echo "$DEPRECATED_MSG"
The FOSSA scanner now supports different build environments, which should be specified directly. Consider using fossa-maven.yml instead.
$ /bin/false
ERROR: Job failed: exit code 1