File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
main/java/org/springframework/boot/cloud
test/java/org/springframework/boot/cloud Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -54,9 +54,9 @@ public boolean isActive(Environment environment) {
54
54
},
55
55
56
56
/**
57
- * SAP Hana Cloud platform.
57
+ * SAP Cloud platform.
58
58
*/
59
- HCP {
59
+ SAP {
60
60
61
61
@ Override
62
62
public boolean isActive (Environment environment ) {
Original file line number Diff line number Diff line change @@ -72,11 +72,11 @@ public void getActiveWhenHasDynoShouldReturnHeroku() throws Exception {
72
72
}
73
73
74
74
@ Test
75
- public void getActiveWhenHasHcLandscapeShouldReturnHcp () throws Exception {
75
+ public void getActiveWhenHasHcLandscapeShouldReturnSap () throws Exception {
76
76
Environment environment = new MockEnvironment ().withProperty ("HC_LANDSCAPE" ,
77
77
"---" );
78
78
CloudPlatform platform = CloudPlatform .getActive (environment );
79
- assertThat (platform ).isEqualTo (CloudPlatform .HCP );
79
+ assertThat (platform ).isEqualTo (CloudPlatform .SAP );
80
80
assertThat (platform .isActive (environment )).isTrue ();
81
81
}
82
82
You can’t perform that action at this time.
0 commit comments