Skip to content

Add option - keepEmptyRows#128

Merged
ondrajodas merged 3 commits intomasterfrom
ondra-AJDA-800
Jul 30, 2025
Merged

Add option - keepEmptyRows#128
ondrajodas merged 3 commits intomasterfrom
ondra-AJDA-800

Conversation

@ondrajodas
Copy link
Copy Markdown
Contributor

Assert::assertEquals(1, count($usersManifests));
}

public function testAppUserException(): void
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

testy pro odstraněný Universal Analytics, pomalu vypínají služby tak musíme odmazávat testy...chtělo by to teda pročistit i kod

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, tenhle test chapu, ten assert byl stejne divnej :D

Copy link
Copy Markdown
Member

@MiroCillik MiroCillik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Jen nechapu proc se odmazava i test "testAppAuthException", jinak LGTM

Assert::assertEquals(1, count($usersManifests));
}

public function testAppUserException(): void
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, tenhle test chapu, ten assert byl stejne divnej :D

Comment on lines -167 to -181
public function testAppAuthException(): void
{
$this->config = $this->getConfig();
$this->config['parameters']['retriesCount'] = 0;
$this->config['authorization']['oauth_api']['credentials'] = [
'appKey' => getenv('CLIENT_ID'),
'#appSecret' => getenv('CLIENT_SECRET'),
'#data' => json_encode([
'access_token' => 'cowshit',
'refresh_token' => 'bullcrap',
]),
];
$errorOutput = $this->runProcess()->getErrorOutput();
Assert::assertStringContainsString('Expired or wrong credentials, please reauthorize.', $errorOutput);
}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ale co je spatne na tomhle testu?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

volal se tam ještě starý endpoint na UA který už je dávno deprecated - https://github.com/keboola/google-analytics-extractor/actions/runs/16517331264/job/46710920611#step:4:663

@ondrajodas ondrajodas requested a review from ujovlado July 29, 2025 09:22
@ondrajodas ondrajodas merged commit f06df37 into master Jul 30, 2025
1 check passed
@ondrajodas ondrajodas deleted the ondra-AJDA-800 branch July 30, 2025 06:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants