Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-18729

When testing, use the schema we use in development, staging and production environments

    XMLWordPrintable

Details

    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • Unset
    • Sources Sprint 38

    Description

      Right now we are using a slightly different schema since we are not migrating the schema on tests using the migrations we've written. We usually let Gorm do that with its "Automigrate" feature, but that ends up creating a very-similar-but-not-the-same database schema.

      In order to make tests actually test the features against the schema we've designed, the way tests migrate the database should be changed.

      Attachments

        Activity

          People

            mbarcina@redhat.com Mikel Barcina
            mbarcina@redhat.com Mikel Barcina
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: