-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
32 changed files
with
397 additions
and
161 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
namespace Tmilos\ScimSchema\Model\v1; | ||
|
||
use Tmilos\ScimSchema\ScimConstantsV1; | ||
|
||
class ListResponse extends \Tmilos\ScimSchema\Model\ListResponse | ||
{ | ||
public function getSchemaId() | ||
{ | ||
return ScimConstantsV1::MESSAGE_LIST_RESPONSE; | ||
} | ||
} |
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
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
namespace Tmilos\ScimSchema\Model\v2; | ||
|
||
use Tmilos\ScimSchema\ScimConstantsV2; | ||
|
||
class ListResponse extends \Tmilos\ScimSchema\Model\ListResponse | ||
{ | ||
public function getSchemaId() | ||
{ | ||
return ScimConstantsV2::MESSAGE_LIST_RESPONSE; | ||
} | ||
} |
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
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
|
||
namespace Tests\Tmilos\ScimSchema\Builder; | ||
|
||
use Tests\Tmilos\ScimSchema\TestHelper; | ||
use Tmilos\ScimSchema\Builder\SchemaBuilderV1; | ||
|
||
class SchemaBuilderV1Test extends \PHPUnit_Framework_TestCase | ||
{ | ||
public function test_group() | ||
{ | ||
$builder = new SchemaBuilderV1(); | ||
$schema = $builder->getGroup()->serializeObject(); | ||
|
||
TestHelper::compare(TestHelper::getExpected('v1.schema.group.json'), $schema, $this); | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
|
||
namespace Tests\Tmilos\ScimSchema\Builder; | ||
|
||
use Tests\Tmilos\ScimSchema\TestHelper; | ||
use Tmilos\ScimSchema\Builder\ServiceProviderConfigBuilderV1; | ||
|
||
class ServiceProviderConfigBuilderV1Test extends \PHPUnit_Framework_TestCase | ||
{ | ||
public function test_builds_default_service_provider_config() | ||
{ | ||
$builder = new ServiceProviderConfigBuilderV1(); | ||
$spc = $builder->buildServiceProviderConfig(); | ||
$arr = $spc->serializeObject(); | ||
|
||
$this->assertEquals(TestHelper::getExpected('v1.service_provider_config.default.json'), $arr); | ||
} | ||
} |
Oops, something went wrong.