You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: export_controller_test.rb
    path of file: ./repos/mushroom-observer/test/controllers
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

require("test_helper")

# Controller tests for setting export state of various objects
class ExportControllerTest < Functiona
    
  def test_set_ml_status_bad_params
    login("rolf")
    params = ml_params
    get(:set_ml_status, params: params.merge(id: 9999))
    assert_flash_error
    get(:set_ml_status, params: params.merge(type: "bogus"))
    assert_flash_error
    get(:set_ml_status, params: params.merge(value: "true"))
    assert_flash_error
  end