assertEquals( $this->graphQlQuery($this->getQuery()), [ 'storeConfig' => [ "customer_access_token_lifetime" => 2 ] ] ); } #[ Config('oauth/access_token_lifetime/customer', 2.5) ] public function testGetCustomerAccessTokenLifetimeAsFloat() { $this->assertEquals( $this->graphQlQuery($this->getQuery()), [ 'storeConfig' => [ "customer_access_token_lifetime" => 2.5 ] ] ); } #[ Config('oauth/access_token_lifetime/customer', null) ] public function testGetCustomerAccessTokenLifetimeNull() { $this->assertEquals( $this->graphQlQuery($this->getQuery()), [ 'storeConfig' => [ "customer_access_token_lifetime" => null ] ] ); } /** * @return string */ private function getQuery(): string { return <<