[GH-ISSUE #1556] [Test] Unit test in rust need to be updated when switching from a Text type to Single-select type #597

Closed
opened 2026-03-23 20:38:26 +00:00 by mirror · 0 comments
Owner

Originally created by @0xkelvin on GitHub (Dec 9, 2022).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/1556

Originally assigned to: @0xkelvin on GitHub.

Description

According to requirement, when switching from Single-select type to Text type, the values in the cell "must" be removed
But the current unit test implementation for this case is incorrect :

github.com/AppFlowy-IO/AppFlowy@82182d7872/frontend/rust-lib/flowy-grid/src/services/field/type_options/text_type_option/text_tests.rs (L30)

Impact

Testing on incorrect requirement

Additional Context

just assign to me as well, since i working on similar issues

Originally created by @0xkelvin on GitHub (Dec 9, 2022). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/1556 Originally assigned to: @0xkelvin on GitHub. ### Description According to requirement, when switching from Single-select type to Text type, the values in the cell "must" be removed But the current unit test implementation for this case is incorrect : https://github.com/AppFlowy-IO/AppFlowy/blob/82182d7872869bd29a1276fa50e7a9ea48f0646d/frontend/rust-lib/flowy-grid/src/services/field/type_options/text_type_option/text_tests.rs#L30 ### Impact Testing on incorrect requirement ### Additional Context just assign to me as well, since i working on similar issues
mirror 2026-03-23 20:38:26 +00:00
  • closed this issue
  • added the
    tests
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#597
No description provided.