mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
Preventing users from buying already gifted subscriber items (#7734)
* Adding the unopened mystery items to the call to get not obtained subscriber items. closes #7712 * refactoring according to pr * Refactoring according to pr. moved time-travelers to it's own file and added new tests.
This commit is contained in:
@@ -28,7 +28,10 @@ describe('Inventory Controller', function() {
|
||||
},
|
||||
preferences: {
|
||||
suppressModals: {}
|
||||
}
|
||||
},
|
||||
purchased: {
|
||||
plan: {}
|
||||
},
|
||||
});
|
||||
|
||||
Shared.wrap(user);
|
||||
|
||||
Reference in New Issue
Block a user