Skip to content

Commit

Permalink
Modifies tests as filter result uses a parent-child relationship by d…
Browse files Browse the repository at this point in the history
…efault (#1020)

# Pull Request

<!--- Replace `#nnn` with your issue link for reference. -->

Fixes insightsengineering/teal.slice#502

Part of insightsengineering/teal.slice#503 and
insightsengineering/teal.data#215

### Changes 

- Corrects test to reflect behavior resulting from `teal.data` default
parent setting when creating new `join_key`
  • Loading branch information
averissimo authored Dec 22, 2023
1 parent 0204dd1 commit 651cce4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-module_nested_tabs.R
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ testthat::test_that(".datasets_to_data returns data which is filtered", {
d1_filtered <- data[["d1"]]
testthat::expect_equal(d1_filtered, data.frame(id = 1:2, pk = 2:3, val = 1:2))
d2_filtered <- data[["d2"]]
testthat::expect_equal(d2_filtered, data.frame(id = 1:5, value = 1:5))
testthat::expect_equal(d2_filtered, data.frame(id = 2:3, value = 2:3))
})


Expand Down

0 comments on commit 651cce4

Please sign in to comment.