Skip to content

Incorrect message in Amulet of Extension #2905

@dlglin

Description

@dlglin

The description of the achievement item says that "the test must still be open for this to work", but the code checks if the set closed less than a day ago:

sub can_use ($self, $set, $records) {
return
$set->assignment_type =~ /gateway/
&& $set->set_id !~ /,v\d+$/
&& between($set->open_date, $set->due_date + ONE_DAY);
}

I was able to apply the item to a test that closed less than a day ago, and everything appears to work. Can I just remove that statement?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions