From 9d56239bace1e4ae735fa43147be1e73343a6fb2 Mon Sep 17 00:00:00 2001 From: Peter Sanchez Date: Fri, 22 Nov 2024 13:32:16 -0600 Subject: [PATCH] Fixing tests for domain level --- migrations/test_migration.up.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/migrations/test_migration.up.sql b/migrations/test_migration.up.sql index 52f99c6..19d5e9a 100644 --- a/migrations/test_migration.up.sql +++ b/migrations/test_migration.up.sql @@ -15,8 +15,8 @@ INSERT INTO org_links (title, url, base_url_id, user_id, org_id, visibility, has INSERT INTO org_links (title, url, base_url_id, user_id, org_id, visibility, hash) VALUES ('Private Business url', 'http://base.com?vis=private', 1, 1, 2, 1, 'hash2'); -INSERT INTO domains (name, lookup_name, org_id, service, status) VALUES ('short domain', 'short.domain.org', 1, 1, 1); -INSERT INTO domains (name, lookup_name, org_id, service, status, level) VALUES ('listing domain', 'list.domain.org', 1, 2, 1, 1); +INSERT INTO domains (name, lookup_name, org_id, level, service, status) VALUES ('short domain', 'short.domain.org', 1, 'SYSTEM', 1, 1); +INSERT INTO domains (name, lookup_name, org_id, service, status, level) VALUES ('listing domain', 'list.domain.org', 1, 2, 1, 'USER'); INSERT INTO link_shorts (id, title, url, domain_id, org_id, short_code, user_id) VALUES (100, 'testing short', 'http://test.domain.org', 1, 1, 'foo', 1); INSERT INTO listings (id, title, slug, domain_id, is_default, user_id, org_id) VALUES (100, 'test listing', 'test-listing-slug', 2, false, 1, 1); -- 2.45.2