mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-06 15:18:49 +00:00
CMTA: Require API authorization.
This commit is contained in:
parent
ea79ac82f9
commit
e244e57722
3 changed files with 6 additions and 4 deletions
|
@ -40,7 +40,7 @@ import de.schildbach.pte.dto.SuggestLocationsResult;
|
|||
*/
|
||||
public class CmtaProviderLiveTest extends AbstractProviderLiveTest {
|
||||
public CmtaProviderLiveTest() {
|
||||
super(new CmtaProvider());
|
||||
super(new CmtaProvider(secretProperty("cmta.api_authorization")));
|
||||
}
|
||||
|
||||
@Test(expected = IllegalArgumentException.class)
|
||||
|
|
|
@ -31,3 +31,4 @@ dsb.api_authorization =
|
|||
se.api_authorization =
|
||||
lu.api_authorization =
|
||||
bart.api_authorization =
|
||||
cmta.api_authorization =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue