diff options
author | Mario <mario@mariovavti.com> | 2024-10-12 15:15:40 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-10-12 15:15:40 +0000 |
commit | 05a5b644bf043aee941d17ac3fb254c99b1c64d1 (patch) | |
tree | 982b728a449956278a1f28296eeed89aead9e99d /library/kzykhys/git/test/PHPGit/Command/FetchCommandTest.php | |
parent | 84556854e858a8fafb208f796a298821e1ed2e91 (diff) | |
parent | b117cf9dc71a2042b27420b9a713ac69514f469e (diff) | |
download | volse-hubzilla-05a5b644bf043aee941d17ac3fb254c99b1c64d1.tar.gz volse-hubzilla-05a5b644bf043aee941d17ac3fb254c99b1c64d1.tar.bz2 volse-hubzilla-05a5b644bf043aee941d17ac3fb254c99b1c64d1.zip |
Merge branch 'remove-repo-handling-from-admin-addons' into 'dev'
Remove addon repo management from admin/addons.
See merge request hubzilla/core!2149
Diffstat (limited to 'library/kzykhys/git/test/PHPGit/Command/FetchCommandTest.php')
-rw-r--r-- | library/kzykhys/git/test/PHPGit/Command/FetchCommandTest.php | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/library/kzykhys/git/test/PHPGit/Command/FetchCommandTest.php b/library/kzykhys/git/test/PHPGit/Command/FetchCommandTest.php deleted file mode 100644 index f52943099..000000000 --- a/library/kzykhys/git/test/PHPGit/Command/FetchCommandTest.php +++ /dev/null @@ -1,36 +0,0 @@ -<?php - -use PHPGit\Git; - -require_once __DIR__ . '/../BaseTestCase.php'; - -class FetchCommandTest extends BaseTestCase -{ - - public function testFetch() - { - $git = new Git(); - $git->init($this->directory); - $git->setRepository($this->directory); - - $git->remote->add('origin', 'https://github.com/kzykhys/Text.git'); - $git->fetch('origin', '+refs/heads/*:refs/remotes/origin/*'); - - $tags = $git->tag(); - $this->assertContains('v1.0.0', $tags); - } - - public function testFetchAll() - { - $git = new Git(); - $git->init($this->directory); - $git->setRepository($this->directory); - - $git->remote->add('origin', 'https://github.com/kzykhys/Text.git'); - $git->fetch->all(); - - $tags = $git->tag(); - $this->assertContains('v1.0.0', $tags); - } - -}
\ No newline at end of file |