mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
test set back to what it was otherwise error
This commit is contained in:
parent
5e7445a4fe
commit
75eb6414ce
@ -40,9 +40,7 @@ class AccompanyingPeriodConfidentialTest extends KernelTestCase
|
|||||||
$period->setOrigin(new Origin());
|
$period->setOrigin(new Origin());
|
||||||
$period->addScope(new Scope());
|
$period->addScope(new Scope());
|
||||||
|
|
||||||
var_dump($period);
|
$violations = self::$validator->validate($period, null, ['confirmed']);
|
||||||
|
|
||||||
$violations = self::$validator->validate($period);
|
|
||||||
|
|
||||||
$this->assertCount(1, $violations);
|
$this->assertCount(1, $violations);
|
||||||
}
|
}
|
||||||
@ -57,7 +55,7 @@ class AccompanyingPeriodConfidentialTest extends KernelTestCase
|
|||||||
$period->addScope(new Scope());
|
$period->addScope(new Scope());
|
||||||
$period->setUser(new User());
|
$period->setUser(new User());
|
||||||
|
|
||||||
$violations = self::$validator->validate($period);
|
$violations = self::$validator->validate($period, null, ['confirmed']);
|
||||||
|
|
||||||
$this->assertCount(0, $violations);
|
$this->assertCount(0, $violations);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user