mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-21 01:39:51 +00:00
VBN: Sync to 5.1.1.
This commit is contained in:
parent
651557ba0c
commit
3a053c517d
3 changed files with 7 additions and 3 deletions
|
@ -26,6 +26,7 @@ import java.util.Date;
|
|||
|
||||
import org.junit.Test;
|
||||
|
||||
import de.schildbach.pte.AbstractHafasClientInterfaceProvider;
|
||||
import de.schildbach.pte.VbnProvider;
|
||||
import de.schildbach.pte.dto.Location;
|
||||
import de.schildbach.pte.dto.LocationType;
|
||||
|
@ -39,7 +40,8 @@ import de.schildbach.pte.dto.SuggestLocationsResult;
|
|||
*/
|
||||
public class VbnProviderLiveTest extends AbstractProviderLiveTest {
|
||||
public VbnProviderLiveTest() {
|
||||
super(new VbnProvider(secretProperty("vbn.api_authorization")));
|
||||
super(new VbnProvider(secretProperty("vbn.api_authorization"), AbstractHafasClientInterfaceProvider
|
||||
.decryptSalt(secretProperty("vbn.encrypted_salt"), secretProperty("hci.salt_encryption_key"))));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
|
@ -9,6 +9,7 @@ vbb.encrypted_salt =
|
|||
nvv.api_authorization =
|
||||
sh.api_authorization =
|
||||
vbn.api_authorization =
|
||||
vbn.encrypted_salt =
|
||||
nasa.api_authorization =
|
||||
vgs.api_authorization =
|
||||
vgs.encrypted_salt =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue