def METHOD_NAME(client: TestClient,
                                  monkeypatch: pytest.MonkeyPatch):
    """ Allowed to post station changes with correct role"""
    def mock_admin_role_function(*_, **__):
        return MockJWTDecodeWithRole('morecast2_write_forecast')
    monkeypatch.setattr(decode_fn, mock_admin_role_function)
    async def mock_format_as_wf1_post_forecasts(client_session, forecasts_to_save):
        return []
    monkeypatch.setattr(app.routers.morecast_v2, 'format_as_wf1_post_forecasts', mock_format_as_wf1_post_forecasts)
    async def mock_post_forecasts(client_session, token, forecasts):
        return None
    monkeypatch.setattr(app.routers.morecast_v2, 'post_forecasts', mock_post_forecasts)
    response = client.post(morecast_v2_post_url, json=forecast.dict())
    assert response.status_code == 201