Why doest pact provider verification fails the tes...
# pact-broker
é
Why doest pact provider verification fails the test with
initializationError
and
<http://au.com|au.com>.dius.pact.provider.junitsupport.loader.NoPactsFoundException: No Pact files were found to verify
when there are no contracts available? I was expecting a non-blocking behaviour in this kind of case. To it's simplest form, my consumer version selectors is:
Copy code
@PactBrokerConsumerVersionSelectors
    public static SelectorBuilder consumerVersionSelectors() {
        return new SelectorBuilder()
            .mainBranch();
        //  .branch("abmm-5295"); // work fine
    }
b
What is the main branch of your consumer?
go to
/pacticipants/{name}
in the HAL browser.
Then, see if you have any pacts with the name of that branch.