def METHOD_NAME(admin_client, valid_resource_form_data):
    assert Resource.objects.all().exists() is False
    # Create a resource via the form view
    response = admin_client.post(NEW_RESOURCE_URL, data=valid_resource_form_data, follow=True)
    assert response.status_code == 200
    resource = Resource.objects.first()
    # Edit the resource
    valid_resource_form_data.update({
        'name_fi': 'Edited name',
    })
    response = admin_client.post(
        reverse('respa_admin:edit-resource', kwargs={'resource_id': resource.id}),
        data=valid_resource_form_data,
        follow=True
    )
    assert response.status_code == 200
    assert Resource.objects.count() == 1  # Still only 1 resource in db
    # Validate that the changes did happen
    edited_resource = Resource.objects.first()
    assert edited_resource.name_fi == 'Edited name'
    assert resource.name_fi != edited_resource.name