use of org.springframework.cloud.gcp.core.Credentials in project spring-cloud-gcp by spring-cloud.
the class PubSubChannelAdaptersIntegrationTests method enableTests.
@BeforeClass
public static void enableTests() throws IOException {
assumeThat(System.getProperty("it.pubsub")).isEqualTo("true");
pubSubAdmin = new PubSubAdmin(new DefaultGcpProjectIdProvider(), new DefaultCredentialsProvider(() -> new Credentials()));
}
Aggregations