Would be good to have a test covering this path (either a controller test, or an integration test)