File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/test/java/org/mushare/pluto Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ publishing {
45
45
46
46
publications {
47
47
maven(MavenPublication ) {
48
- version ' 0.1.2 '
48
+ version ' 0.1.3 '
49
49
group ' org.mushare'
50
50
from components. java
51
51
}
Original file line number Diff line number Diff line change 11
11
public class PlutoTest {
12
12
13
13
@ Test
14
- public void testAuth () {
14
+ public void testAuth () throws PlutoException {
15
15
Pluto .setup ("https://staging.easyjapanese-api-gateway.mushare.cn/pluto/" , "org.mushare.easyjapanese" );
16
16
String scope = "easyjapanese.admin" ;
17
17
String token = "eyJ0eXBlIjoiand0IiwiYWxnIjoicnNhIn0.eyJ0eXBlIjoiYWNjZXNzIiwiY3JlYXRlX3RpbWUiOjE1ODQ3MjIyMjQsImV4cGlyZV90aW1lIjoxNTg0NzI1ODI0LCJ1c2VySWQiOjMsImRldmljZUlkIjoiQ0Y0Mzc5MzMtQ0MyMS00QUFCLTgxNjEtMUU1MTVCNjQxQTU5IiwiYXBwSWQiOiJvcmcubXVzaGFyZS5lYXN5amFwYW5lc2UiLCJzY29wZXMiOlsiZWFzeWphcGFuZXNlLmFkbWluIl0sImxvZ2luX3R5cGUiOiJtYWlsIn0.V6HVNGsRvzLkgCzPxV3JH9H1GqF/ycNrKQDp/mzq/OdCOy1v8cu/O9HCjtW2J5NZuYgdtletEuoEdIQBUqtRHAseRPcyUmddWf3NxCHcqpAQZW2hJzp8WRgfP2Gug+O++IBoysntYz6FWSLUqw0HzGlU46J4jQnmzWvW/MR/mvM/7IWS5mtPM8DftlI3hBeeXH6FRKMtRbzr4PD0sTb/rSpJPtcs2YXmlj8C5DOhZd2XQjqnA7HhA3MZ2PAy6hkeZ99qyDUZav5SoOQQ8qCNbGDg/nQbeIaUHcg4Fx0F5lIlFAyHHaEkyhwSN4dLI+4ZD1rIxIXLH+uzcWOCYTIxag" ;
@@ -22,7 +22,7 @@ public void testAuth() {
22
22
public ExpectedException exceptionRule = ExpectedException .none ();
23
23
24
24
@ Test
25
- public void testAuthExpired () {
25
+ public void testAuthExpired () throws PlutoException {
26
26
exceptionRule .expect (PlutoException .class );
27
27
exceptionRule .expectMessage (PlutoErrorCode .expired .toString ());
28
28
You can’t perform that action at this time.
0 commit comments