diff --git a/lib/pact_broker/db/seed_example_data.rb b/lib/pact_broker/db/seed_example_data.rb index d6e283bb6..16b3c9c22 100644 --- a/lib/pact_broker/db/seed_example_data.rb +++ b/lib/pact_broker/db/seed_example_data.rb @@ -18,21 +18,24 @@ def call(consumer_name: CONSUMER_NAME, provider_name: PROVIDER_NAME) .create_provider(provider_name, created_at: days_ago(16)) .create_consumer_version("e15da45d3943bf10793a6d04cfb9f5dabe430fe2", created_at: days_ago(16)) .create_consumer_version_tag("prod", created_at: days_ago(16)) - .create_consumer_version_tag("dev", created_at: days_ago(16)) + .create_consumer_version_tag("master", created_at: days_ago(16)) .create_pact(json_content: pact_1, created_at: days_ago(16)) .create_verification(provider_version: "1315e0b1924cb6f42751f977789be3559373033a", execution_date: days_ago(15)) - .create_provider_version_tag("dev", created_at: days_ago(14)) + .create_provider_version_tag("master", created_at: days_ago(14)) .create_provider_version_tag("prod", created_at: days_ago(14)) .create_verification(provider_version: "480e5aeb30467856ca995d0024d2c1800b0719e5", success: false, number: 2, execution_date: days_ago(14)) - .create_provider_version_tag("dev", created_at: days_ago(14)) + .create_provider_version_tag("master", created_at: days_ago(14)) .create_consumer_version("725c6ccb7cf7efc51b4394f9828585eea9c379d9", created_at: days_ago(7)) .create_consumer_version_tag("feat-new-thing", created_at: days_ago(7)) .create_pact(json_content: pact_2, created_at: days_ago(7)) .create_consumer_version("7bd4d9173522826dc3e8704fd62dde0424f4c827", created_at: days_ago(1)) - .create_consumer_version_tag("dev", created_at: days_ago(1)) + .create_consumer_version_tag("master", created_at: days_ago(1)) .create_pact(json_content: pact_3, created_at: days_ago(1)) .create_verification(provider_version: "4fdf20082263d4c5038355a3b734be1c0054d1e1", execution_date: days_ago(1)) - .create_provider_version_tag("dev", created_at: days_ago(1)) + .create_provider_version_tag("master", created_at: days_ago(1)) + .create_consumer_version("5556b8149bf8bac76bc30f50a8a2dd4c22c85f30", created_at: days_ago(0.5)) + .create_consumer_version_tag("master", created_at: days_ago(0.5)) + .republish_same_pact(created_at: days_ago(0.5)) end def database_empty?