Skip to content

Commit

Permalink
use correct sharing types in unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
individual-it committed Dec 5, 2023
1 parent f5e1a3d commit 28a0fed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/unit/Owncloud/OcisPhpSdk/ResourceLinkTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function createLinkDataProvider(): array
null,
new DriveItemCreateLink(
[
'type' => 'view',
'type' => SharingLinkType::VIEW,
'password' => null,
'expiration_date_time' => null,
'display_name' => null
Expand All @@ -43,7 +43,7 @@ public function createLinkDataProvider(): array
'the name of the link',
new DriveItemCreateLink(
[
'type' => 'edit',
'type' => SharingLinkType::EDIT,
'password' => 'a-password',
'expiration_date_time' => new \DateTime('2022-12-31 01:02:03.456789Z'),
'display_name' => 'the name of the link'
Expand All @@ -58,7 +58,7 @@ public function createLinkDataProvider(): array
null,
new DriveItemCreateLink(
[
'type' => 'edit',
'type' => SharingLinkType::EDIT,
'password' => null,
'expiration_date_time' => new \DateTime('2020-12-31 23:00:43.123456Z'),
'display_name' => null
Expand Down

0 comments on commit 28a0fed

Please sign in to comment.