File tree 2 files changed +2
-0
lines changed
lib/pact_broker/pacticipants
spec/lib/pact_broker/pacticipants
2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,7 @@ def self.delete name
86
86
connection . run ( "delete from pact_versions where consumer_id = #{ pacticipant . id } " )
87
87
connection . run ( "delete from versions where pacticipant_id = #{ pacticipant . id } " )
88
88
version_repository . delete_by_id version_ids
89
+ label_repository . delete_by_pacticipant_id ( pacticipant . id )
89
90
connection . run ( "delete from pacticipants where id = #{ pacticipant . id } " )
90
91
end
91
92
Original file line number Diff line number Diff line change @@ -116,6 +116,7 @@ module Pacticipants
116
116
before do
117
117
TestDataBuilder . new
118
118
. create_consumer ( "Consumer" )
119
+ . create_label ( "finance" )
119
120
. create_consumer_version ( "2.3.4" )
120
121
. create_provider ( "Provider" )
121
122
. create_pact
You can’t perform that action at this time.
0 commit comments