Update to gobook@5e58e0a92b96bee61856a8ce6e75ed849bd504af
This commit is contained in:
@@ -16,10 +16,7 @@ func TestCheckQuotaNotifiesUser(t *testing.T) {
|
||||
}
|
||||
|
||||
const user = "joe@example.org"
|
||||
|
||||
// Simulate a 980MB-used condition for this user.
|
||||
// NOTE: this differs slightly from the printed version.
|
||||
usage["joe@example.org"] = 980000000
|
||||
usage[user] = 980000000 // simulate a 980MB-used condition
|
||||
|
||||
CheckQuota(user)
|
||||
if notifiedUser == "" && notifiedMsg == "" {
|
||||
|
||||
Reference in New Issue
Block a user