Skip to content
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.

Commit

Permalink
deps: update dependency com.google.cloud:google-cloud-shared-dependen…
Browse files Browse the repository at this point in the history
…cies to v2.3.0 (#8)

* deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v2.3.0

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
renovate-bot and gcf-owl-bot[bot] committed Sep 30, 2021
1 parent 524eff7 commit c4e86c8
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion google-iam-admin-bom/pom.xml
@@ -1,4 +1,4 @@
<?xml version="1.0"?>
<?xml version='1.0' encoding='UTF-8'?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.google.cloud</groupId>
Expand Down
4 changes: 2 additions & 2 deletions google-iam-admin/pom.xml
@@ -1,4 +1,4 @@
<?xml version="1.0"?>
<?xml version='1.0' encoding='UTF-8'?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.google.cloud</groupId>
Expand Down Expand Up @@ -112,4 +112,4 @@
</plugin>
</plugins>
</build>
</project>
</project>
Expand Up @@ -16,19 +16,18 @@

package com.google.cloud.iam.admin.v1.it;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import static org.junit.Assume.assumeNotNull;

import com.google.cloud.iam.admin.v1.IAMClient;
import com.google.iam.admin.v1.ProjectName;
import com.google.iam.admin.v1.ServiceAccount;
import java.io.IOException;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import static org.junit.Assume.assumeNotNull;

import java.io.IOException;

public class ITSystemTest {
private static IAMClient client;
private static String PROJECT_ID = System.getenv("GOOGLE_CLOUD_PROJECT");
Expand All @@ -48,7 +47,8 @@ public void listServiceAccounts() {
assumeNotNull(PROJECT_ID);

int count = 0;
for (ServiceAccount serviceAccount : client.listServiceAccounts(ProjectName.of(PROJECT_ID)).iterateAll()) {
for (ServiceAccount serviceAccount :
client.listServiceAccounts(ProjectName.of(PROJECT_ID)).iterateAll()) {
assertEquals(PROJECT_ID, serviceAccount.getProjectId());
count += 1;
}
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -85,7 +85,7 @@
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-shared-dependencies</artifactId>
<version>2.1.0</version>
<version>2.3.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down

0 comments on commit c4e86c8

Please sign in to comment.