def METHOD_NAME(self):
    # Given
    config = NewRelicConfiguration.objects.create(
        base_url="http://test.com",
        api_key="key-123",
        app_id="app-123",
        project=self.project,
    )
    api_key_updated = "new api"
    app_id_updated = "new app"
    data = {
        "base_url": config.base_url,
        "api_key": api_key_updated,
        "app_id": app_id_updated,
    }
    # When
    url = reverse(
        "api-v1:projects:integrations-new-relic-detail",
        args=[self.project.id, config.id],
    )
    response = self.client.put(
        url,
        data=json.dumps(data),
        content_type="application/json",
    )
    config.refresh_from_db()
    # Then
    assert response.status_code == status.HTTP_200_OK
    assert config.api_key == api_key_updated
    assert config.app_id == app_id_updated