# This env var is set by the beforeTest action in our Jenkinsfile
unless ENV.key?("RUNNING_IN_CI")
  # See app/tasks/seed_database
  ImportOrganisations.new.call
  SeedDatabase.instance.run
end

# This env var is set by the beforeTest action in our Jenkinsfile
unless ENV.key?("RUNNING_IN_CI")
  # See app/tasks/seed_database
  SeedDatabase.instance.run
end

Remove import organisations from db:seed
Remove import organisations from db:seed

ImportOrganisations.new.call involves pulling data dynamically in from
GOV.UK. This makes it an extremely complicated approach to seeding a
database, and causes a bunch of misery in spinning up a production-like
environment for GOV.UK (as is the case with publishing_e2e_tests [1]) as
you need Whitehall to have published data, that data to make it to
Search API, Router to be running and then Collections running - a heck
of a lot for a db:seed!

It's unclear why this is needed, the SeedDatabase step will create a
single organisation (HMRC) which is probably all that is needed.

This simplifies this just to the more basic seed call.
