-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0fa1cd3
commit 5a91618
Showing
1 changed file
with
3 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,14 @@ | ||
<?php | ||
|
||
// Copyright (C) 2023 Ivan Stasiuk <[email protected]>. | ||
// | ||
// This Source Code Form is subject to the terms of the Mozilla Public | ||
// License, v. 2.0. If a copy of the MPL was not distributed with this file, | ||
// You can obtain one at https://mozilla.org/MPL/2.0/. | ||
// Copyright (C) 2024 Ivan Stasiuk <[email protected]>. | ||
// Use of this source code is governed by a BSD-style | ||
// license that can be found in the LICENSE file. | ||
|
||
namespace BrokeYourBike\ZenithBankCIB\Tests; | ||
|
||
use GuzzleHttp\Client as GuzzleHttpClient; | ||
use BrokeYourBike\ZenithBankCIB\Interfaces\ConfigInterface; | ||
use BrokeYourBike\ZenithBankCIB\Client; | ||
use BrokeYourBike\HasSourceModel\HasSourceModelTrait; | ||
|
||
/** | ||
* @author Ivan Stasiuk <[email protected]> | ||
|
@@ -29,12 +26,4 @@ public function it_implemets_http_client_interface(): void | |
|
||
$this->assertSame($mockedConfig, $api->getConfig()); | ||
} | ||
|
||
/** @test */ | ||
public function it_uses_has_source_model_trait(): void | ||
{ | ||
$usedTraits = class_uses(Client::class); | ||
|
||
$this->assertArrayHasKey(HasSourceModelTrait::class, $usedTraits); | ||
} | ||
} |