Skip to content

Commit

Permalink
Merge pull request #120 from magento-engcom/MAGETWO-89443
Browse files Browse the repository at this point in the history
MAGETWO-89443: Release New Version of ZF1
  • Loading branch information
Joan He authored Apr 6, 2018
2 parents c6b0575 + 459d0d0 commit d1f17f8
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 47 deletions.
8 changes: 1 addition & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@
"preferred-install": "dist",
"sort-packages": true
},
"repositories": {
"zf1": {
"type": "vcs",
"url": "https://github.com/magento-engcom/zf1-php-7.2-support.git"
}
},
"require": {
"php": "~7.1.3||~7.2.0",
"ext-ctype": "*",
Expand Down Expand Up @@ -44,7 +38,7 @@
"elasticsearch/elasticsearch": "~2.0|~5.1",
"magento/composer": "~1.3.0",
"magento/magento-composer-installer": ">=0.1.11",
"magento/zendframework1": "dev-master",
"magento/zendframework1": "~1.14.0",
"monolog/monolog": "^1.17",
"oyejorge/less.php": "~1.7.0",
"pelago/emogrifier": "^2.0.0",
Expand Down
13 changes: 6 additions & 7 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -80,17 +80,17 @@ public function testIntrospectionQuery()
$this->assertEquals('Query', $output['queryType']['name']);
$this->assertEquals($output['types'][0]['kind'], 'OBJECT');
$expectedFragment =
[
'name' => 'Query',
'description' => 'Description at type level',
'kind' => 'OBJECT',
'fields' => [
[
'name' => 'a',
'args' => []
]
]
];
[
'name' => 'Query',
'description' => 'Description at type level',
'kind' => 'OBJECT',
'fields' => [
[
'name' => 'a',
'args' => []
]
]
];
$this->assertContains($expectedFragment, $output['types']);
}

Expand All @@ -102,27 +102,26 @@ public function testIntrospectsInputObjectWithNonNullInputField()
{
$testInputObject = new InputObjectType(
[
'name' => 'ProductFilterInput',
'fields' => [
'attributeA' => [
'type' => \GraphQL\Type\Definition\Type::nonNull(
\GraphQL\Type\Definition\Type::string()
),
'description' => 'testDescriptionForA'
],
'attributeB' => [
'type' => \GraphQL\Type\Definition\Type::listOf(
\GraphQL\Type\Definition\Type::string()
)
],
'attributeC' => ['type' => \GraphQL\Type\Definition\Type::string(), 'defaultValue' => null],
'attributeD' => [
'type' => \GraphQL\Type\Definition\Type::string(),
'defaultValue' => 'test',
'description' => 'testDescriptionForD'
],

]
'name' => 'ProductFilterInput',
'fields' => [
'attributeA' => [
'type' => \GraphQL\Type\Definition\Type::nonNull(
\GraphQL\Type\Definition\Type::string()
),
'description' => 'testDescriptionForA'
],
'attributeB' => [
'type' => \GraphQL\Type\Definition\Type::listOf(
\GraphQL\Type\Definition\Type::string()
)
],
'attributeC' => ['type' => \GraphQL\Type\Definition\Type::string(), 'defaultValue' => null],
'attributeD' => [
'type' => \GraphQL\Type\Definition\Type::string(),
'defaultValue' => 'test',
'description' => 'testDescriptionForD'
],
]
]
);
$TestType = new ObjectType([
Expand Down
2 changes: 1 addition & 1 deletion lib/internal/Magento/Framework/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"lib-libxml": "*",
"colinmollenhour/php-redis-session-abstract": "~1.3.8",
"composer/composer": "^1.6",
"magento/zendframework1": "dev-master",
"magento/zendframework1": "~1.14.0",
"monolog/monolog": "^1.17",
"oyejorge/less.php": "~1.7.0",
"symfony/console": "~4.0.0",
Expand Down

0 comments on commit d1f17f8

Please sign in to comment.