Skip to content

Commit

Permalink
Adding Unit Test for NewDatabaseMetaDataNode#getDataSourceNodeVersion…
Browse files Browse the repository at this point in the history
…sNode (#28833)

* Adding Unit Test for NewDatabaseMetaDataNode#getDataSourceNodeVersionsNode

* Fixing spotless violations introducd with newly added test
  • Loading branch information
rajeshwarrao055 authored Oct 22, 2023
1 parent 2dadc44 commit af28ed9
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,4 +187,9 @@ void assertGetViewVersionNode() {
void assertGetViewNode() {
assertThat(NewDatabaseMetaDataNode.getViewNode("foo_db", "foo_schema", "foo_view"), is("/metadata/foo_db/schemas/foo_schema/views/foo_view"));
}

@Test
void assertGetDataSourceNodeVersionsNode() {
assertThat(NewDatabaseMetaDataNode.getDataSourceNodeVersionsNode("foo_db", "foo_ds"), is("/metadata/foo_db/data_sources/nodes/foo_ds/versions"));
}
}

0 comments on commit af28ed9

Please sign in to comment.