- Create a raw hosted repository.
- Go to its configuration, and set it to be offline.
- Go to UI upload, and attempt to upload a file to the offline repository.
Expected: As noted in the help text for that setting "If checked, the repository accepts incoming requests". So if it is not checked, incoming requests should not work, and the upload should fail.