Test for remove()
doesn't check either removal or that deletedAt() was set
#3
読み込み中…
x
新しいイシューから参照
ユーザーをブロックする
説明はありません。
ブランチ "%!s()" の削除
ブランチの削除は恒久的です。 実際に削除されるまでの短い期間、ブランチが存在したままになることもありますが、たいていは元に戻すことはできません。 続行しますか?
It seems like the call to
remove
should either fully remove the site entry, or at the very least setdeletedAt
to the current time.Currently the test does not check that either of these happen. At the moment it seems like the reference implementation does not set
deletedAt
(at least in my own testing) - something that should be caught by the test suite.Bug is not in greenlock-manager-fs itself, but in Greenlock. Appears that greenlock-manager-fs should work, when coolaj86/greenlock.js#56 is fixed.
I'm still thinking that remove should be more fully tested.