if User.where(name: "Test user").blank?
  gds_organisation_id = "af07d5a5-df63-4ddc-9383-6a666845ebe9"

  User.create!(
    name: "Test user",
    permissions: %w[signin gds_editor],
    organisation_content_id: gds_organisation_id,
    organisation_slug: "test-organisation",
  )
end

if User.where(name: "Test user").blank?
  gds_organisation_id = "af07d5a5-df63-4ddc-9383-6a666845ebe9"

  User.create!(
    name: "Test user",
    permissions: %w[signin gds_editor],
    organisation_content_id: gds_organisation_id,
    organisation_slug: "government-digital-service",
  )
end

Make Seed data more realistic
Make Seed data more realistic

Updates the organisation slug to be government-digital-service. This
will be needed to run the app locally when Manuals Publisher [requests
organisational data][2] from the [/api/organisations][1] endpoint.

[1]: https://www.gov.uk/api/organisations
[2]: https://github.com/alphagov/manuals-publisher/blob/22dba788f02a90b24602c9ab66f876e255555ff7/app/adapters/publishing_adapter.rb#L84
