Set expected_code to 300 on Mitaka

When checking the API endpoint the expected status code needs to be 300
on Mitaka, and 200 on Liberty and earlier.

Change-Id: I12a3eba127eca8e766f786e4752a7bbb238aa889
1 file changed