From c0f1beb6ddcee08a69b37a905b645648174542a8 Mon Sep 17 00:00:00 2001 From: Martin Seener Date: Mon, 14 Jan 2019 20:16:29 +0100 Subject: [PATCH] Fixes User-Agent and bumped version --- LICENSE.txt | 2 +- readme.md | 4 ++-- src/Client.php | 2 +- tests/ClientTest.php | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/LICENSE.txt b/LICENSE.txt index 62f0cd8..de2b4f7 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2016-2017 Cash Payment Solutions GmbH +Copyright (c) 2016-2019 Cash Payment Solutions GmbH Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/readme.md b/readme.md index b31bdd5..c1cc8d5 100644 --- a/readme.md +++ b/readme.md @@ -1,11 +1,11 @@ -# Barzahlen Payment Module PHP SDK (v2.1.1) +# Barzahlen Payment Module PHP SDK (v2.1.2) [![Build Status](https://travis-ci.org/Barzahlen/Barzahlen-PHP.svg?branch=master)](https://travis-ci.org/Barzahlen/Barzahlen-PHP) [![Total Downloads](https://poser.pugx.org/barzahlen/barzahlen-php/downloads)](https://packagist.org/packages/barzahlen/barzahlen-php) [![License](https://poser.pugx.org/barzahlen/barzahlen-php/license)](https://packagist.org/packages/barzahlen/barzahlen-php) ## Copyright -(c) 2018, Cash Payment Solutions GmbH +(c) 2019, Cash Payment Solutions GmbH https://www.barzahlen.de ## Preparation diff --git a/src/Client.php b/src/Client.php index 43be8cf..208a245 100644 --- a/src/Client.php +++ b/src/Client.php @@ -29,7 +29,7 @@ class Client /** * @var string */ - private $userAgent = 'PHP SDK v2.1.0'; + private $userAgent = 'PHP SDK v2.1.2'; /** diff --git a/tests/ClientTest.php b/tests/ClientTest.php index a9f4c3e..125fdb6 100644 --- a/tests/ClientTest.php +++ b/tests/ClientTest.php @@ -16,7 +16,7 @@ class ClientTest extends \PHPUnit_Framework_TestCase /** * @var string */ - private $userAgent = 'PHP SDK v2.1.0'; + private $userAgent = 'PHP SDK v2.1.2'; public function setUp() { @@ -30,9 +30,9 @@ public function testDefaultUserAgent() public function testSetUserAgent() { - $this->client->setUserAgent('Shopsystem v2.1.1'); + $this->client->setUserAgent('Shopsystem v2.1.2'); - $this->assertAttributeEquals('Shopsystem v2.1.1', 'userAgent', $this->client); + $this->assertAttributeEquals('Shopsystem v2.1.2', 'userAgent', $this->client); } public function testBuildHeaderWithIdempotency()