Skip to content

Commit

Permalink
add default behavior to the MockProvider
Browse files Browse the repository at this point in the history
Add reasonable default behavior to the mock provider, so that may do not
need to depend on the idiosyncrasies of the old (though updated) test
testDiffFn and to a lesser extend the testApplyFn. This behavior is
based directly upon the documented resource lifecycle, rather
than be an ad-hoc collection of behaviors from old tests.

As a proof of concept, remove all uses of testDiffFn from the plan
context tests that don't cause the tests to fail.
  • Loading branch information
jbardin committed Jan 12, 2021
1 parent e01d37d commit 2e2c9e0
Show file tree
Hide file tree
Showing 4 changed files with 114 additions and 83 deletions.
Loading

0 comments on commit 2e2c9e0

Please sign in to comment.