Skip to content

Commit

Permalink
Merge branch 'fix/TEC-5322-wp-67-packages' of github.com:the-events-c…
Browse files Browse the repository at this point in the history
…alendar/tribe-common into fix/TEC-5322-wp-67-packages
  • Loading branch information
lucatume committed Dec 4, 2024
2 parents 9c5bc55 + 0cc2adb commit a4d4a23
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 9 deletions.
5 changes: 3 additions & 2 deletions tests/_support/Traits/Create_Attendees.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace TEC\Event_Automator\Tests\Traits;

use TEC\Common\Faker\Factory;
use TEC\Tickets\Commerce\Cart;
use TEC\Tickets\Commerce\Gateways\PayPal\Gateway;
use TEC\Tickets\Commerce\Module;
Expand Down Expand Up @@ -705,8 +706,8 @@ protected function create_edd_order_no_tickets( int $download_id, int $qty = 1,
$this->suspend_edd_emails();

$factory = $this->factory ?? $this->factory();
$faker = \Faker\Factory::create();
$faker->addProvider( new \Faker\Provider\en_US\Address( $faker ) );
$faker = Factory::create();
$faker->addProvider( new \TEC\Common\Faker\Provider\en_US\Address( $faker ) );

$create_user = $overrides['create_users'] ?? false;
$user_id = $overrides['user_id'] ?? 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ public function it_should_process_tc_orders_queue( Restv1_etTester $I ) {

/**
* @test
* @skip Strauss does not update FakerPHP causing 'Psr\Container\ContainerInterface' not found
*/
public function it_should_process_edd_orders_queue( Restv1_etTester $I ) {
$event = $this->generate_event( $this->mock_date_value );
Expand Down Expand Up @@ -163,7 +162,6 @@ public function it_should_process_edd_orders_queue( Restv1_etTester $I ) {

/**
* @test
* @skip Strauss does not update FakerPHP causing 'Psr\Container\ContainerInterface' not found
*/
public function it_should_process_woo_orders_queue( Restv1_etTester $I ) {
$event = $this->generate_event( $this->mock_date_value );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ public function it_should_process_tc_refunded_orders_queue( Restv1_etTester $I )

/**
* @test
* @skip Strauss does not update FakerPHP causing 'Psr\Container\ContainerInterface' not found
*/
public function it_should_process_edd_refunded_orders_queue( Restv1_etTester $I ) {
$event = $this->generate_event( $this->mock_date_value );
Expand Down Expand Up @@ -168,7 +167,6 @@ public function it_should_process_edd_refunded_orders_queue( Restv1_etTester $I

/**
* @test
* @skip Strauss does not update FakerPHP causing 'Psr\Container\ContainerInterface' not found
*/
public function it_should_process_woo_refunded_orders_queue( Restv1_etTester $I ) {
$event = $this->generate_event( $this->mock_date_value );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@ public function it_should_process_tc_orders_queue( Restv1_etTester $I ) {

/**
* @test
* @skip Strauss does not update FakerPHP causing 'Psr\Container\ContainerInterface' not found
*/
public function it_should_process_edd_orders_queue( Restv1_etTester $I ) {
$event = $this->generate_event( $this->mock_date_value );
Expand Down Expand Up @@ -204,7 +203,6 @@ public function it_should_process_edd_orders_queue( Restv1_etTester $I ) {

/**
* @test
* @skip Strauss does not update FakerPHP causing 'Psr\Container\ContainerInterface' not found
*/
public function it_should_process_woo_orders_queue( Restv1_etTester $I ) {
$event = $this->generate_event( $this->mock_date_value );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ public function it_should_process_edd_refunded_orders_queue( Restv1_etTester $I

/**
* @test
* @skip Strauss does not update FakerPHP causing 'Psr\Container\ContainerInterface' not found
*/
public function it_should_process_woo_refunded_orders_queue( Restv1_etTester $I ) {
$event = $this->generate_event( $this->mock_date_value );
Expand Down

0 comments on commit a4d4a23

Please sign in to comment.