Skip to content

Commit 6161441

Browse files
Post-merge changes
1 parent ddce1f2 commit 6161441

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ branches:
1010
- working
1111

1212
before_script:
13-
- composer install
13+
- composer install --no-dev
1414

1515
notifications:
1616
email:

tests/OpenCloud/Smoke/Unit/ObjectStore.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,8 @@ public function main()
128128

129129
// Copy
130130
$this->step('Copy Object');
131-
$target = $container->dataObject();
132-
$target->setName($this->prepend(self::OBJECT_NAME . '_COPY'));
133-
$object->copy($target);
131+
$destination = sprintf('/%s/%s', $container->getName(), $this->prepend(self::OBJECT_NAME . '_COPY'));
132+
$object->copy($destination);
134133

135134
// List containers
136135
$this->step('List all containers');

0 commit comments

Comments
 (0)