Browse Source

Update to 0.9.71

Has the pretty severe bug #3480 which is worked around in tests
Girish Ramakrishnan 8 years ago
parent
commit
b683cb6db8
2 changed files with 2 additions and 1 deletions
  1. 1 1
      Dockerfile
  2. 1 0
      test/test.js

+ 1 - 1
Dockerfile

@@ -15,7 +15,7 @@ RUN passwd -d git
 RUN mkdir -p /home/git/gogs
 ## TODO: use redis as well
 RUN cd /home/git/gogs && \
-    curl -L https://github.com/gogits/gogs/releases/download/v0.9.48/linux_amd64.tar.gz | tar zxvf - --strip-components 1
+    curl -L https://github.com/gogits/gogs/releases/download/v0.9.71/linux_amd64.tar.gz | tar zxvf - --strip-components 1
 
 # setup config paths
 ADD app.ini.template /home/git/app.ini.template

+ 1 - 0
test/test.js

@@ -119,6 +119,7 @@ describe('Application life cycle test', function () {
         browser.findElement(by.xpath('//div[text()="Add Key"]')).click();
         browser.findElement(by.id('title')).sendKeys('testkey');
         browser.findElement(by.id('content')).sendKeys(publicKey);
+        browser.findElement(by.id('content')).sendKeys('\n'); // #3480
         browser.findElement(by.xpath('//button[contains(text(), "Add Key")]')).click();
         browser.wait(until.elementLocated(by.xpath('//p[contains(text(), "added successfully!")]')), TIMEOUT).then(function () { done(); });
     });