def METHOD_NAME(
    self,
    app: Flask,
    client: FlaskClient,
    with_db_and_bpmn_file_cleanup: None,
    with_super_admin_user: UserModel,
) -> None:
    secret = self.add_test_secret(with_super_admin_user)
    with pytest.raises(ApiError) as ae:
        SecretService.update_secret(secret.key + "x", "some_new_value", with_super_admin_user.id)
    assert "Resource does not exist" in ae.value.message
    assert ae.value.error_code == "update_secret_error"