Skip to content

Commit

Permalink
Merge branch '6.13' into 7.3
Browse files Browse the repository at this point in the history
  • Loading branch information
glye committed Jan 18, 2019
2 parents 1127f20 + ed4c988 commit f88acd1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Repository/Tests/BaseTest.php
Expand Up @@ -598,7 +598,7 @@ public function createUserWithPolicies($login, array $policiesData)
$userCreateStruct->setField('last_name', $login);
$user = $userService->createUser($userCreateStruct, [$userService->loadUserGroup(4)]);

$role = $this->createRoleWithPolicies(uniqid('role_for_' . $login . '_'), $policiesData);
$role = $this->createRoleWithPolicies(uniqid('role_for_' . $login . '_', true), $policiesData);
$roleService->assignRoleToUser($role, $user);

$repository->commit();
Expand Down
4 changes: 2 additions & 2 deletions Repository/Tests/FieldType/KeywordIntegrationTest.php
Expand Up @@ -416,8 +416,8 @@ private function assertContentFieldHasCorrectData($contentId, KeywordValue $valu
public function testKeywordsAreCaseSensitive()
{
$contentType = $this->testCreateContentType();
$publishedContent01 = $this->createAndPublishContent('Foo', $contentType, md5(uniqid() . microtime()));
$publishedContent02 = $this->createAndPublishContent('foo', $contentType, md5(uniqid() . microtime()));
$publishedContent01 = $this->createAndPublishContent('Foo', $contentType, md5(uniqid(__METHOD__, true)));
$publishedContent02 = $this->createAndPublishContent('foo', $contentType, md5(uniqid(__METHOD__, true)));

$data = $publishedContent01->getField('data')->value;
$this->assertCount(1, $data->values);
Expand Down

0 comments on commit f88acd1

Please sign in to comment.