Skip to content

Commit

Permalink
Some tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
mihxil committed Mar 5, 2024
1 parent d3d7108 commit af2cfde
Showing 1 changed file with 23 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,16 @@
*/
package nl.vpro.api.client.frontend;

import jakarta.ws.rs.*;
import jakarta.ws.rs.core.MediaType;
import jakarta.ws.rs.core.Response;
import lombok.extern.slf4j.Slf4j;

import java.io.IOException;
import java.io.InputStream;
import java.time.*;
import java.util.Locale;

import jakarta.ws.rs.*;
import jakarta.ws.rs.core.MediaType;
import jakarta.ws.rs.core.Response;

import org.apache.commons.io.IOUtils;
import org.jboss.resteasy.client.jaxrs.ClientHttpEngine;
import org.jboss.resteasy.client.jaxrs.ResteasyClientBuilder;
Expand Down Expand Up @@ -339,5 +338,25 @@ public void thesaurus() throws IOException {
}


@Test


public void listForAncestor() {
ScheduleResult vpro = clients.getScheduleService().listForAncestor("some mid", null, Instant.now(), Instant.now().plus(Duration.ofDays(7)), null, null, 0, 100);
log.info("{}, ", vpro);


}

@Test
public void list() {
ScheduleResult vpro = clients.getScheduleService().list(LocalDate.now(), null, null, null, null, 0, 100);
log.info("{}, ", vpro);


}




}

0 comments on commit af2cfde

Please sign in to comment.