forked from opensearch-project/data-prepper
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Marcos_Gonzalez_Mayedo <alemayed@amazon.com>
- Loading branch information
Marcos_Gonzalez_Mayedo
committed
Jun 21, 2023
1 parent
c04e490
commit a5c3237
Showing
2 changed files
with
21 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
...k/src/test/java/org/opensearch/dataprepper/plugins/sink/configuration/AuthConfigTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package org.opensearch.dataprepper.plugins.sink.configuration; | ||
|
||
import org.junit.jupiter.api.Test; | ||
import org.opensearch.dataprepper.plugins.sink.AuthConfig; | ||
|
||
import static org.hamcrest.MatcherAssert.assertThat; | ||
import static org.hamcrest.Matchers.equalTo; | ||
|
||
public class AuthConfigTest { | ||
@Test | ||
void check_default_region_test() { | ||
assertThat(new AuthConfig().getRegion(), equalTo("default")); | ||
} | ||
|
||
@Test | ||
void check_default_role_test() { | ||
assertThat(new AuthConfig().getRole_arn(), equalTo("default")); | ||
} | ||
} |