Skip to content

Commit

Permalink
test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasCAI-mlv committed Oct 11, 2024
1 parent b155eb0 commit 3ed46ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ void shouldNotApplySchemaWhenValidationErrors() {
}

@Test
void shouldCreateSchemaInDryRunMode() {
void shouldNotCreateSchemaInDryRunMode() {
Namespace namespace = buildNamespace();
Schema schema = buildSchema();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ void shouldListSchemaWithWildcardNameParameter() {
.grantedTo("myNamespace")
.resourcePatternType(AccessControlEntry.ResourcePatternType.LITERAL)
.resourceType(AccessControlEntry.ResourceType.TOPIC)
.resource("prefix2.schema2-value")
.resource("prefix2.schema2")
.build())
.build(),
AccessControlEntry.builder()
Expand Down Expand Up @@ -598,6 +598,7 @@ private SchemaResponse buildSchemaResponse(String subject) {
+ "\"doc\":\"Last name of the person\"},{\"name\":\"dateOfBirth\",\"type\":[\"null\","
+ "{\"type\":\"long\",\"logicalType\":\"timestamp-millis\"}],\"default\":null,"
+ "\"doc\":\"Date of birth of the person\"}]}")
.schemaType("AVRO")
.references(List.of(Schema.SchemaSpec.Reference.builder()
.name("HeaderAvro")
.subject("header-value")
Expand Down

0 comments on commit 3ed46ed

Please sign in to comment.