Fix minitest assert_nil warning #1070

Merged
tonyvince merged 3 commits from fix-minitest-deprication-warnings into main 2024-08-09 22:58:01 +08:00
tonyvince commented 2024-08-09 17:21:06 +08:00 (Migrated from github.com)

To reproduce:

  • Run test suite bin/rails test
  • See warnings that will start failing in Minitest 6
DEPRECATED: Use assert_nil if expecting nil from test/models/account/holding/syncer_test.rb:106. This will fail in Minitest 6.
DEPRECATED: Use assert_nil if expecting nil from test/models/account/holding/syncer_test.rb:107. This will fail in Minitest 6.
To reproduce: - Run test suite `bin/rails test` - See warnings that will start failing in Minitest 6 ``` DEPRECATED: Use assert_nil if expecting nil from test/models/account/holding/syncer_test.rb:106. This will fail in Minitest 6. DEPRECATED: Use assert_nil if expecting nil from test/models/account/holding/syncer_test.rb:107. This will fail in Minitest 6. ```
Sign in to join this conversation.