File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
azd/src/test/java/org/azd Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 22
33import org .azd .build .types .BuildDefinition ;
44import org .azd .build .types .Folder ;
5+ import org .azd .common .ApiVersion ;
56import org .azd .enums .QueuePriority ;
7+ import org .azd .enums .RequestMethod ;
68import org .azd .exceptions .AzDException ;
79import org .azd .helpers .JsonMapper ;
810import org .azd .helpers .StreamHelper ;
911import org .azd .interfaces .AzDClient ;
1012import org .azd .interfaces .BuildDetails ;
1113import org .azd .utils .AzDClientApi ;
14+ import org .azd .utils .RestClient ;
1215import org .junit .Before ;
1316import org .junit .Test ;
1417
1518import java .io .File ;
1619
20+ import static org .azd .utils .RestClient .send ;
21+
1722public class BuildApiTest {
1823 private static final JsonMapper MAPPER = new JsonMapper ();
1924 private static BuildDetails b ;
@@ -93,6 +98,11 @@ public void shouldReturnBuilds() throws AzDException {
9398 b .getBuilds ();
9499 }
95100
101+ @ Test
102+ public void shouldReturnBuildsContinuationToken () throws AzDException {
103+ b .getBuilds ().getContinuationToken ();
104+ }
105+
96106 @ Test
97107 public void shouldReturnBuildsWithArrayOfBuildIds () throws AzDException {
98108 var builds = b .getBuilds ().getBuildResults ().stream ()
You can’t perform that action at this time.
0 commit comments