use of net.nemerosa.ontrack.model.support.ConnectionResult in project ontrack by nemerosa.
the class ConfigurationServiceIT method test_ok_on_new_configuration_with_blank_password.
/**
* Regression test for #531
*/
@Test
public void test_ok_on_new_configuration_with_blank_password() throws Exception {
TestConfiguration configuration = new TestConfiguration(uid("T"), "", "");
ConnectionResult result = asUser().with(GlobalSettings.class).call(() -> configurationService.test(configuration));
assertEquals(ConnectionResult.ConnectionResultType.OK, result.getType());
}
Aggregations