Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: exclude partials from contact limit #2049 #2058

Merged
merged 3 commits into from
Nov 20, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: applied continuous-integration suggestion
  • Loading branch information
tbirrell committed Nov 20, 2018
commit 58c96f10df41ae49d55db89f35ec9d4957c45bfc
4 changes: 2 additions & 2 deletions tests/Unit/Models/AccountTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -735,11 +735,11 @@ public function test_account_has_reached_contact_limit_on_free_plan()
$this->assertTrue(
$account->hasReachedContactLimit()
);

$partials = factory(Contact::class, 5)->state('partial')->create([
'account_id' => $account->id,
]);

config(['monica.number_of_allowed_contacts_free_account' => 15]);

$this->assertFalse(
Expand Down