diff --git a/google-cloud-clients/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/JobServiceClientTest.java b/google-cloud-clients/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/JobServiceClientTest.java index 7c46187ec179..374a7c48a27b 100644 --- a/google-cloud-clients/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/JobServiceClientTest.java +++ b/google-cloud-clients/google-cloud-talent/src/test/java/com/google/cloud/talent/v4beta1/JobServiceClientTest.java @@ -101,7 +101,7 @@ public void tearDown() throws Exception { @SuppressWarnings("all") public void createJobTest() { JobName name = JobOldName.of("[PROJECT]", "[JOBS]"); - String company = "company950484093"; + CompanyName company = CompanyOldName.of("[PROJECT]", "[COMPANY]"); String requisitionId = "requisitionId980224926"; String title = "title110371416"; String description = "description-1724546052"; @@ -115,7 +115,7 @@ public void createJobTest() { Job expectedResponse = Job.newBuilder() .setName(name.toString()) - .setCompany(company) + .setCompany(company.toString()) .setRequisitionId(requisitionId) .setTitle(title) .setDescription(description) @@ -168,7 +168,7 @@ public void createJobExceptionTest() throws Exception { @SuppressWarnings("all") public void getJobTest() { JobName name2 = JobOldName.of("[PROJECT]", "[JOBS]"); - String company = "company950484093"; + CompanyName company = CompanyOldName.of("[PROJECT]", "[COMPANY]"); String requisitionId = "requisitionId980224926"; String title = "title110371416"; String description = "description-1724546052"; @@ -182,7 +182,7 @@ public void getJobTest() { Job expectedResponse = Job.newBuilder() .setName(name2.toString()) - .setCompany(company) + .setCompany(company.toString()) .setRequisitionId(requisitionId) .setTitle(title) .setDescription(description) @@ -232,7 +232,7 @@ public void getJobExceptionTest() throws Exception { @SuppressWarnings("all") public void updateJobTest() { JobName name = JobOldName.of("[PROJECT]", "[JOBS]"); - String company = "company950484093"; + CompanyName company = CompanyOldName.of("[PROJECT]", "[COMPANY]"); String requisitionId = "requisitionId980224926"; String title = "title110371416"; String description = "description-1724546052"; @@ -246,7 +246,7 @@ public void updateJobTest() { Job expectedResponse = Job.newBuilder() .setName(name.toString()) - .setCompany(company) + .setCompany(company.toString()) .setRequisitionId(requisitionId) .setTitle(title) .setDescription(description) diff --git a/google-cloud-clients/google-cloud-talent/synth.metadata b/google-cloud-clients/google-cloud-talent/synth.metadata index c972ac9b80e2..fc39566cd0f0 100644 --- a/google-cloud-clients/google-cloud-talent/synth.metadata +++ b/google-cloud-clients/google-cloud-talent/synth.metadata @@ -1,5 +1,5 @@ { - "updateTime": "2019-04-02T07:57:34.877695Z", + "updateTime": "2019-04-03T07:57:05.789692Z", "sources": [ { "generator": { @@ -12,8 +12,8 @@ "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "6c48ab5aef47dc14e02e2dc718d232a28067129d", - "internalRef": "241437588" + "sha": "8dab717b2851750c829530669fe5cebafef22fb8", + "internalRef": "241646671" } } ],