From 46b6d74be1412105f5f518a4bca4ff9edd3bf489 Mon Sep 17 00:00:00 2001 From: Heinz Wiesinger Date: Sun, 2 Apr 2023 18:04:37 +0200 Subject: [PATCH] APNS: Reorganize APNS test statics Move out of the "libcapn" folder since the statics don't have anything to do anymore with libcapn. Reviewed at https://reviews.lunr.nl/r/948/ --- src/Lunr/Vortex/APNS/Tests/APNSPayloadTest.php | 8 ++++---- tests/statics/Vortex/apns/{libcapn => }/alert.json | 0 tests/statics/Vortex/apns/{libcapn => }/apns.json | 0 tests/statics/Vortex/apns/{libcapn => }/badge.json | 0 tests/statics/Vortex/apns/{libcapn => }/custom_data.json | 0 tests/statics/Vortex/apns/{libcapn => }/sound.json | 0 6 files changed, 4 insertions(+), 4 deletions(-) rename tests/statics/Vortex/apns/{libcapn => }/alert.json (100%) rename tests/statics/Vortex/apns/{libcapn => }/apns.json (100%) rename tests/statics/Vortex/apns/{libcapn => }/badge.json (100%) rename tests/statics/Vortex/apns/{libcapn => }/custom_data.json (100%) rename tests/statics/Vortex/apns/{libcapn => }/sound.json (100%) diff --git a/src/Lunr/Vortex/APNS/Tests/APNSPayloadTest.php b/src/Lunr/Vortex/APNS/Tests/APNSPayloadTest.php index 673fe06..7cbcda6 100644 --- a/src/Lunr/Vortex/APNS/Tests/APNSPayloadTest.php +++ b/src/Lunr/Vortex/APNS/Tests/APNSPayloadTest.php @@ -60,11 +60,11 @@ public function setUp(): void public function payloadProvider(): array { $values = []; - $values[] = [ '/Vortex/apns/libcapn/alert.json', [ 'alert' => 'apnsmessage' ] ]; - $values[] = [ '/Vortex/apns/libcapn/custom_data.json', [ 'custom_data' => [ 'key1' => 'value1', 'key2' => 'value2' ] ] ]; - $values[] = [ '/Vortex/apns/libcapn/badge.json', [ 'badge' => 10 ] ]; + $values[] = [ '/Vortex/apns/alert.json', [ 'alert' => 'apnsmessage' ] ]; + $values[] = [ '/Vortex/apns/custom_data.json', [ 'custom_data' => [ 'key1' => 'value1', 'key2' => 'value2' ] ] ]; + $values[] = [ '/Vortex/apns/badge.json', [ 'badge' => 10 ] ]; $values[] = [ - '/Vortex/apns/libcapn/apns.json', + '/Vortex/apns/apns.json', [ 'alert' => 'apnsmessage', 'badge' => 10, diff --git a/tests/statics/Vortex/apns/libcapn/alert.json b/tests/statics/Vortex/apns/alert.json similarity index 100% rename from tests/statics/Vortex/apns/libcapn/alert.json rename to tests/statics/Vortex/apns/alert.json diff --git a/tests/statics/Vortex/apns/libcapn/apns.json b/tests/statics/Vortex/apns/apns.json similarity index 100% rename from tests/statics/Vortex/apns/libcapn/apns.json rename to tests/statics/Vortex/apns/apns.json diff --git a/tests/statics/Vortex/apns/libcapn/badge.json b/tests/statics/Vortex/apns/badge.json similarity index 100% rename from tests/statics/Vortex/apns/libcapn/badge.json rename to tests/statics/Vortex/apns/badge.json diff --git a/tests/statics/Vortex/apns/libcapn/custom_data.json b/tests/statics/Vortex/apns/custom_data.json similarity index 100% rename from tests/statics/Vortex/apns/libcapn/custom_data.json rename to tests/statics/Vortex/apns/custom_data.json diff --git a/tests/statics/Vortex/apns/libcapn/sound.json b/tests/statics/Vortex/apns/sound.json similarity index 100% rename from tests/statics/Vortex/apns/libcapn/sound.json rename to tests/statics/Vortex/apns/sound.json