package org.pmiops.workbench.google;

import static com.google.common.truth.Truth.assertThat;

import org.junit.Test;
import org.pmiops.workbench.BaseIntegrationTest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.TestConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;

public class CloudStorageServiceImplIntegrationTest extends BaseIntegrationTest {
  @Autowired private CloudStorageService service;

  @TestConfiguration
  @ComponentScan(basePackageClasses = CloudStorageServiceImpl.class)
  @Import(CloudStorageServiceImpl.class)
  static class Configuration {}

  @Test
  public void testCanReadFile() {
    assertThat(service.readInvitationKey().length() > 4).isTrue();
  }
}

@@ -769,48 +769,41 @@
 ice.
-readInvitationKey().length() %3E 4).isTrue
+getCaptchaServerKey()).isNotEmpty
 ();%0A

Switch integration test away from unused invite key (#4620)