Fix hard-coded IDs in failing metrics_dashboard_spec.rb
spec/requests/projects/metrics_dashboard_spec.rb
was failing because
it was expecting environment ID 99 not to exist, but if previous specs
incremented the sequence then it's entirely possible for this spec to
create an environment with that ID. We now use the max value to test
this.
Closes #288023 (closed)
Edited by Stan Hu