Skip to content

Conversation

kamil-tekiela
Copy link
Contributor

No description provided.

Signed-off-by: Kamil Tekiela <[email protected]>
Signed-off-by: Kamil Tekiela <[email protected]>

Update ShapeRecord.php

r
Signed-off-by: Kamil Tekiela <[email protected]>
Signed-off-by: Kamil Tekiela <[email protected]>
Signed-off-by: Kamil Tekiela <[email protected]>
Signed-off-by: Kamil Tekiela <[email protected]>
Signed-off-by: Kamil Tekiela <[email protected]>
@MauricioFauth MauricioFauth merged commit d747d10 into phpmyadmin:master Sep 12, 2023
@MauricioFauth MauricioFauth self-assigned this Sep 12, 2023
@MauricioFauth MauricioFauth added this to the 4.0.0 milestone Sep 12, 2023
@kamil-tekiela kamil-tekiela deleted the modernization branch September 12, 2023 21:52
@MoonE
Copy link

MoonE commented Sep 12, 2023

@kamil-tekiela dd1362b breaks the phpmyadmin tests

There were 2 failures:

  1. PhpMyAdmin\Tests\Plugins\Import\ImportShpTest::testDoImport
    Failed asserting that PhpMyAdmin\Message Object #29202 (
    'number' => 8
    'string' => 'The imported file does not contain any data!'
    'message' => ''
    'isDisplayed' => false
    'useBBCode' => true
    'hash' => null
    'params' => Array &0 ()
    'addedMessages' => Array &1 ()
    ) matches expected ''.

/phpmyadmin/test/classes/Plugins/Import/ImportShpTest.php:84
/phpmyadmin/test/classes/Plugins/Import/ImportShpTest.php:170

  1. PhpMyAdmin\Tests\Plugins\Import\ImportShpTest::testImportOsm
    Failed asserting that PhpMyAdmin\Message Object #27819 (
    'number' => 8
    'string' => 'The imported file does not contain any data!'
    'message' => ''
    'isDisplayed' => false
    'useBBCode' => true
    'hash' => null
    'params' => Array &0 ()
    'addedMessages' => Array &1 ()
    ) matches expected ''.

/phpmyadmin/test/classes/Plugins/Import/ImportShpTest.php:84
/phpmyadmin/test/classes/Plugins/Import/ImportShpTest.php:135

MauricioFauth added a commit that referenced this pull request Sep 13, 2023
@MauricioFauth
Copy link
Member

dd1362b breaks the phpmyadmin tests

Fixed by 861d3b4. I reverted the change that caused the test to fail.

@kamil-tekiela
Copy link
Contributor Author

Thanks @MoonE for reporting the problem, and thanks @MauricioFauth for fixing it. I never imagined it could have been used this way.

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.

4 participants