From f963b094a72dfe3b27ee05cd870db2409a0b0616 Mon Sep 17 00:00:00 2001 From: Koen Eelen Date: Thu, 8 Feb 2024 13:53:26 +0100 Subject: [PATCH 1/2] Updated culturefeed-php to 1.14 --- composer.json | 2 +- composer.lock | 16 ++++++++++------ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/composer.json b/composer.json index 9db05b7..5e5ad25 100644 --- a/composer.json +++ b/composer.json @@ -4,7 +4,7 @@ "license": "GPL-3.0", "require": { "cultuurnet/silex-uitid-provider": "dev-master", - "cultuurnet/culturefeed-php": "~1.12", + "cultuurnet/culturefeed-php": "~1.14", "cultuurnet/deserializer": "dev-master", "cultuurnet/culturefeed-http-guzzle": "~0.1", "deralex/yaml-config-service-provider": "~1.0", diff --git a/composer.lock b/composer.lock index 8ddb319..dc3a2fa 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "51c78e9c62ac2dc5108160f93d7c249f", + "content-hash": "6fe2e90cebb2402df78e909b1824d66d", "packages": [ { "name": "2dotstwice/collection", @@ -313,16 +313,16 @@ }, { "name": "cultuurnet/culturefeed-php", - "version": "1.12", + "version": "v1.14", "source": { "type": "git", "url": "https://github.com/cultuurnet/culturefeed-php.git", - "reference": "be1c7651b1f7cf41da0ca3fbdb4a798c3b7b7387" + "reference": "98621a0cf6c8607a34450174cb75819fec75832a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/cultuurnet/culturefeed-php/zipball/be1c7651b1f7cf41da0ca3fbdb4a798c3b7b7387", - "reference": "be1c7651b1f7cf41da0ca3fbdb4a798c3b7b7387", + "url": "https://api.github.com/repos/cultuurnet/culturefeed-php/zipball/98621a0cf6c8607a34450174cb75819fec75832a", + "reference": "98621a0cf6c8607a34450174cb75819fec75832a", "shasum": "" }, "require": { @@ -356,7 +356,11 @@ } ], "description": "Culturefeed PHP library", - "time": "2020-10-09T11:56:35+00:00" + "support": { + "issues": "https://github.com/cultuurnet/culturefeed-php/issues", + "source": "https://github.com/cultuurnet/culturefeed-php/tree/v1.14" + }, + "time": "2024-02-08T08:27:57+00:00" }, { "name": "cultuurnet/deserializer", From 6926d7a5f8ad40ea0fad4e1bf1ad7f0559c4ef22 Mon Sep 17 00:00:00 2001 From: Koen Eelen Date: Thu, 8 Feb 2024 13:59:20 +0100 Subject: [PATCH 2/2] Updated test for new culturefeed field --- test/Membership/MembershipControllerTest.php | 1 + test/Membership/data/profile.json | 1 + 2 files changed, 2 insertions(+) diff --git a/test/Membership/MembershipControllerTest.php b/test/Membership/MembershipControllerTest.php index 2b5af71..1cc6148 100644 --- a/test/Membership/MembershipControllerTest.php +++ b/test/Membership/MembershipControllerTest.php @@ -111,6 +111,7 @@ public function it_can_respond_all_associations_for_the_active_counter() $cardSystem->kansenStatuutExpired = true; $cardSystem->kansenStatuutEndDate = 1441097191; $cardSystem->kansenStatuutInGracePeriod = false; + $cardSystem->kansenStatuutSuspendedUntil = 1441097191; $cfPassHolder = new \CultureFeed_Uitpas_Passholder(); $cfPassHolder->memberships = array( diff --git a/test/Membership/data/profile.json b/test/Membership/data/profile.json index a0e5be4..df4de96 100644 --- a/test/Membership/data/profile.json +++ b/test/Membership/data/profile.json @@ -85,6 +85,7 @@ "kansenStatuutExpired": true, "kansenStatuutEndDate": 1441097191, "kansenStatuutInGracePeriod": false, + "kansenStatuutSuspendedUntil": 1441097191, "status": null } ],