Commit b623b8eb by Vladislav
2 parents 823bc499 f4ecd291
Showing with 2 additions and 2 deletions
......@@ -61,7 +61,7 @@ class CheckCampaignsTest extends TestCase
'Timestamp' => 'test time',
'Campaigns' => [
[
'ChangesIn' => ['SELF'],
'ChangesIn' => ['SELF', 'CHILDREN'],
'CampaignId' => 1
],
[
......@@ -74,6 +74,6 @@ class CheckCampaignsTest extends TestCase
$this->assertEquals($this->request->getToken()->timestamp, 'test time');
$this->assertEquals(1, Campaigns::forUpdatedSelf()->count());
$this->assertEquals(1, Campaigns::forUpdatedChildren()->count());
$this->assertEquals(2, Campaigns::forUpdatedChildren()->count());
}
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!