File tree Expand file tree Collapse file tree
src/test/java/org/mushare/pluto Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ publishing {
4545
4646 publications {
4747 maven(MavenPublication ) {
48- version ' 0.1.2 '
48+ version ' 0.1.3 '
4949 group ' org.mushare'
5050 from components. java
5151 }
Original file line number Diff line number Diff line change 1111public class PlutoTest {
1212
1313 @ Test
14- public void testAuth () {
14+ public void testAuth () throws PlutoException {
1515 Pluto .setup ("https://staging.easyjapanese-api-gateway.mushare.cn/pluto/" , "org.mushare.easyjapanese" );
1616 String scope = "easyjapanese.admin" ;
1717 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() {
2222 public ExpectedException exceptionRule = ExpectedException .none ();
2323
2424 @ Test
25- public void testAuthExpired () {
25+ public void testAuthExpired () throws PlutoException {
2626 exceptionRule .expect (PlutoException .class );
2727 exceptionRule .expectMessage (PlutoErrorCode .expired .toString ());
2828
You can’t perform that action at this time.
0 commit comments