Untitled

 avatar
unknown
plain_text
3 years ago
581 B
5
Indexable
<?php

    /**
     * @var bool
     */
    private bool $hasBeenSetup = false;

    /**
     * @var bool
     */
    private bool $deleteData = false;

    /**
     * Test set up.
     *
     * @return void
     */
    public function setUp(): void
    {
        parent::setUp();

        if (!$this->hasBeenSetup) {
            print_r('here');
            $this->customerFactory = Customer::factory();
            $this->customer = $this->customerFactory->create();
            $this->testUser = $this->customerFactory->user;
        }

        $this->hasBeenSetup = true;
    }
Editor is loading...