Skip to content

Commit

Permalink
TESTING : Update Unit Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
FlippieCoetser committed Oct 5, 2023
1 parent 877c37d commit 3462839
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/testthat/test-ODBC.Storage.Validator.R
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ describe("When id |> validate[['Id']]()",{

describe("When table |> validate[['Is.Existing.Table']]()",{
it('then no exception is thrown if table is a valid table',{
skip_if_not(environment == 'local')
# Given
table <- 'Todo'

Expand All @@ -241,6 +242,7 @@ describe("When table |> validate[['Is.Existing.Table']]()",{
valid.table |> validator[['Is.Existing.Table']]() |> expect.no.error()
})
it('then an exception is thrown if table is not a valid table',{
skip_if_not(environment == 'local')
# Given
broker <- configurator[["Get.Config"]]() |> ODBC.Storage.Broker()

Expand Down

0 comments on commit 3462839

Please sign in to comment.