This commit is contained in:
@@ -42,7 +42,7 @@ test('a non-admin cannot save a notes limit through a direct action call', funct
|
||||
|
||||
$component->set('notesLimitInput', '2500')->call('saveNotesLimit')->assertForbidden();
|
||||
|
||||
expect($member->fresh()->notes_limit)->toBe(1000);
|
||||
expect($member->fresh()->notesLimit())->toBe(1000);
|
||||
});
|
||||
|
||||
test('non-admins do not see the notes limits navigation item', function () {
|
||||
@@ -128,7 +128,7 @@ test('a notes limit must be a valid positive number', function () {
|
||||
->call('saveNotesLimit')
|
||||
->assertHasErrors('notesLimitInput');
|
||||
|
||||
expect($member->fresh()->notes_limit)->toBe(1000);
|
||||
expect($member->fresh()->notesLimit())->toBe(1000);
|
||||
});
|
||||
|
||||
test('admins can search users by name or email', function () {
|
||||
|
||||
Reference in New Issue
Block a user