-
Notifications
You must be signed in to change notification settings - Fork 65
Open
Labels
bugSomething isn't workingSomething isn't working
Description
發生了什麼事? / The Problem
使用者的最愛功能沒有辦法成功新增分隔線、資料夾以及看板
如何重現 / To Reproduce
可參考 testing-script 的 C2-3-2 C2-3-3 C2-3-4
- 首先以 pichu3/123123 取得 pichu3 的 Access Token
- 透過
curl http://localhost:8081/v1/users/$1/favorites -H "Authorization: bearer $2"
確認目前狀態
3-a. 透過curl http://localhost:8081/v1/users/$1/favorites -H "Authorization: bearer $2" -d 'action=add_favorite' -d 'type=line'
新增分隔線,接下來用 2 的 API 來確認會發現仍然沒有分隔線
3-b. 透過 curl http://localhost:8081/v1/users/$1/favorites -H "Authorization: bearer $2" -d 'action=add_favorite' -d 'type=folder' -d 'title=test'
新增資料夾,接下來用 2 的 API 來確認會發現仍然沒有資料夾
3-c. 透過 curl http://localhost:8081/v1/users/$1/favorites -H "Authorization: bearer $2" -d 'action=add_favorite' -d 'type=board' -d 'board_id=SYSOP'
新增看板,接下來用 2 的 API 來確認會發現仍然沒有看板
預期的行為 / Expected behavior
應該要出現剛剛新增的東西
螢幕截圖 / Screenshots
開發環境 / Environment
Package version: cb8fb31
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working