Commit f4ecd291 by Евгений

поправил миграции

1 parent dfa9d5fc
Showing with 2 additions and 2 deletions
...@@ -61,7 +61,7 @@ class CheckCampaignsTest extends TestCase ...@@ -61,7 +61,7 @@ class CheckCampaignsTest extends TestCase
'Timestamp' => 'test time', 'Timestamp' => 'test time',
'Campaigns' => [ 'Campaigns' => [
[ [
'ChangesIn' => ['SELF'], 'ChangesIn' => ['SELF', 'CHILDREN'],
'CampaignId' => 1 'CampaignId' => 1
], ],
[ [
...@@ -74,6 +74,6 @@ class CheckCampaignsTest extends TestCase ...@@ -74,6 +74,6 @@ class CheckCampaignsTest extends TestCase
$this->assertEquals($this->request->getToken()->timestamp, 'test time'); $this->assertEquals($this->request->getToken()->timestamp, 'test time');
$this->assertEquals(1, Campaigns::forUpdatedSelf()->count()); $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!