Revert "Fixing tests"

This reverts commit 6ac719bdcb.
This commit is contained in:
Ryan Baxter
2022-10-17 20:20:12 -04:00
parent 6ac719bdcb
commit 442b5e475f
2 changed files with 2 additions and 3 deletions

View File

@@ -1 +0,0 @@
17

View File

@@ -41,7 +41,7 @@ public class BusEnvironmentPostProcessorTests {
assertThat(env.getProperty("spring.cloud.stream.function.bindings." + BUS_CONSUMER + "-in-0")).isEqualTo(INPUT);
assertThat(env.getProperty("spring.cloud.stream.bindings." + INPUT + ".destination")).isEqualTo(DESTINATION);
assertThat(env.getProperty("spring.cloud.stream.bindings." + OUTPUT + ".destination")).isEqualTo(DESTINATION);
assertThat(env.getProperty(BusProperties.PREFIX + ".id")).isEqualTo("application:8080:123");
assertThat(env.getProperty(BusProperties.PREFIX + ".id")).isEqualTo("application:0:123");
assertThat(env.getPropertySources().contains(OVERRIDES_PROPERTY_SOURCE_NAME));
assertThat(env.getPropertySources().contains(DEFAULTS_PROPERTY_SOURCE_NAME));
}
@@ -55,7 +55,7 @@ public class BusEnvironmentPostProcessorTests {
assertThat(env.getProperty("spring.cloud.stream.function.bindings." + BUS_CONSUMER + "-in-0")).isEqualTo(INPUT);
assertThat(env.getProperty("spring.cloud.stream.bindings." + INPUT + ".destination")).isEqualTo(DESTINATION);
assertThat(env.getProperty("spring.cloud.stream.bindings." + OUTPUT + ".destination")).isEqualTo(DESTINATION);
assertThat(env.getProperty(BusProperties.PREFIX + ".id")).isEqualTo("application:dev:8080:123");
assertThat(env.getProperty(BusProperties.PREFIX + ".id")).isEqualTo("application:dev:0:123");
assertThat(env.getPropertySources().contains(OVERRIDES_PROPERTY_SOURCE_NAME));
assertThat(env.getPropertySources().contains(DEFAULTS_PROPERTY_SOURCE_NAME));
}