Skip to content

Commit

Permalink
Tests should work now
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Carlino committed Nov 2, 2020
1 parent 9d671c0 commit 0b4f59a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions tests/php/GraphQL/Plugins/VersionedDataObjectPluginTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ public function testPluginDoesntAddVersionedFieldsToUnversionedObjects()
$plugin->apply($type, $schema);
$type = $schema->getType('FakeVersion');
$this->assertNull($type);

Fake::add_extension(Versioned::class);
}

}
2 changes: 1 addition & 1 deletion tests/php/GraphQL/Plugins/VersionedReadTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ public function testVersionedRead()
$query->getResolverAfterwares()[0]->getRef()->toString()
);
$this->assertCount(1, $query->getArgs());
$this->assertEquals('versioning', $query->getArgs()[0]);
$this->assertArrayHasKey('versioning', $query->getArgs());
}
}

0 comments on commit 0b4f59a

Please sign in to comment.