-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve the change request template text
And store the template (sprintf format) in a const (not a static var)
- Loading branch information
Showing
5 changed files
with
14 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -496,6 +496,9 @@ public function test_it_builds_an_entity_change_request() | |
$this->assertEquals('saml20_sp', $data['type']); | ||
$this->assertIsArray($data['pathUpdates']); | ||
$this->assertCount(4, $data['pathUpdates']); | ||
$this->assertStringContainsString('Change request by user A.F.Th. van der Heijden with email address "[email protected]"', $data['note']); | ||
$this->assertStringContainsString('CHR-5421', $data['note']); | ||
$this->assertStringContainsString('revisionnote', $data['note']); | ||
} | ||
|
||
private function createManageEntity( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,7 +73,8 @@ public function test_it_builds_an_entity_change_request() | |
$this->assertEquals('oidc10_rp', $data['type']); | ||
$this->assertIsArray($data['pathUpdates']); | ||
$this->assertCount(2, $data['pathUpdates']); | ||
$this->assertStringContainsString('Change request by user A.F.Th. van der Heijden with email address "[email protected]" via the SPdashboard', $data['note']); | ||
$this->assertStringContainsString('Change request by user A.F.Th. van der Heijden with email address "[email protected]"', $data['note']); | ||
$this->assertStringContainsString('CHR-421', $data['note']); | ||
$this->assertStringContainsString('revisionnote', $data['note']); | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -288,7 +288,8 @@ public function test_it_builds_an_entity_change_request() | |
$this->assertEquals('oidc10_rp', $data['type']); | ||
$this->assertIsArray($data['pathUpdates']); | ||
$this->assertCount(4, $data['pathUpdates']); | ||
$this->assertStringContainsString('Change request by user A.F.Th. van der Heijden with email address "[email protected]" via the SPdashboard', $data['note']); | ||
$this->assertStringContainsString('Change request by user A.F.Th. van der Heijden with email address "[email protected]', $data['note']); | ||
$this->assertStringContainsString('CHR-7432', $data['note']); | ||
$this->assertStringContainsString('revisionnote', $data['note']); | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -157,7 +157,8 @@ public function test_it_builds_an_entity_change_request() | |
$this->assertEquals('oauth20_rs', $data['type']); | ||
$this->assertIsArray($data['pathUpdates']); | ||
$this->assertCount(4, $data['pathUpdates']); | ||
$this->assertStringContainsString('Change request by user A.F.Th. van der Heijden with email address "[email protected]" via the SPdashboard', $data['note']); | ||
$this->assertStringContainsString('Change request by user A.F.Th. van der Heijden with email address "[email protected]"', $data['note']); | ||
$this->assertStringContainsString('CHR-1956', $data['note']); | ||
$this->assertStringContainsString('revisionnote', $data['note']); | ||
} | ||
|
||
|