Skip to content

Commit

Permalink
Fixes User-Agent and bumped version
Browse files Browse the repository at this point in the history
  • Loading branch information
martinseener committed Jan 14, 2019
1 parent bfe4483 commit c0f1beb
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class Client
/**
* @var string
*/
private $userAgent = 'PHP SDK v2.1.0';
private $userAgent = 'PHP SDK v2.1.2';


/**
Expand Down
6 changes: 3 additions & 3 deletions tests/ClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand All @@ -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()
Expand Down

0 comments on commit c0f1beb

Please sign in to comment.