mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-03-04 19:30:51 +01:00
Fix integration test
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
|
||||
package sonia.scm.it;
|
||||
|
||||
import com.google.common.base.Charsets;
|
||||
@@ -185,7 +185,7 @@ public class GitNonFastForwardITCase {
|
||||
}
|
||||
|
||||
private static void setNonFastForwardDisallowed(boolean nonFastForwardDisallowed) {
|
||||
String config = String.format("{'disabled': false, 'gcExpression': null, 'nonFastForwardDisallowed': %s}", nonFastForwardDisallowed)
|
||||
String config = String.format("{'disabled': false, 'gcExpression': null, 'defaultBranch': 'main', 'nonFastForwardDisallowed': %s}", nonFastForwardDisallowed)
|
||||
.replace('\'', '"');
|
||||
|
||||
given(VndMediaType.PREFIX + "gitConfig" + VndMediaType.SUFFIX)
|
||||
|
||||
Reference in New Issue
Block a user