jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alibazlamit <notificati...@github.com>
Subject Re: [jclouds/jclouds-labs] JCLOUDS-1216 - oneandone-user-api (#336)
Date Mon, 19 Dec 2016 13:24:02 GMT
alibazlamit commented on this pull request.



> +   public void testGet() {
+      User result = userApi().get(currentUser.id());
+
+      assertEquals(result.id(), currentUser.id());
+   }
+
+   @Test(dependsOnMethods = "testGet")
+   public void testUpdate() throws InterruptedException {
+      //this test will fail too since its not allowed to update other users from the API
+//      String updatedDescription = "updatejclouds";
+//
+//      User updateResult = userApi().update(currentUser.id(), User.UpdateUser.builder()
+//              .description(updatedDescription)
+//              .build());
+//
+//      assertEquals(updateResult.description(), updatedDescription);

we could but many of those test will break the flow since it either blocks IP's, disable the
user or change the API key, how would you like to proceed with this?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/336
Mime
View raw message