Skip to content

Commit

Permalink
test: no source
Browse files Browse the repository at this point in the history
  • Loading branch information
brokeyourbike committed Feb 26, 2024
1 parent 0fa1cd3 commit 5a91618
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions tests/ClientTest.php
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]>
Expand All @@ -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);
}
}

0 comments on commit 5a91618

Please sign in to comment.