diff --git a/object/product_test.go b/object/product_test.go index 98b2572e..627526d8 100644 --- a/object/product_test.go +++ b/object/product_test.go @@ -12,6 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. +//go:build !skipCi + package object import ( @@ -21,7 +23,7 @@ import ( "github.com/casdoor/casdoor/util" ) -func TestProvider(t *testing.T) { +func TestProduct(t *testing.T) { InitConfig() product := GetProduct("admin/product_123") diff --git a/web/src/App.js b/web/src/App.js index d0add296..903c6e81 100644 --- a/web/src/App.js +++ b/web/src/App.js @@ -555,7 +555,7 @@ class App extends Component { // theme="dark" mode={(Setting.isMobile() && this.isStartPages()) ? "inline" : "horizontal"} selectedKeys={[`${this.state.selectedMenuKey}`]} - style={{ lineHeight: '64px'}} + style={{lineHeight: '64px', width: '100%', position: 'absolute'}} > { this.renderMenu() diff --git a/xlsx/xlsx_test.go b/xlsx/xlsx_test.go index 08f7db8a..5200d673 100644 --- a/xlsx/xlsx_test.go +++ b/xlsx/xlsx_test.go @@ -16,9 +16,9 @@ package xlsx -//import "testing" -// -//func TestReadSheet(t *testing.T) { -// ticket := ReadXlsxFile("../../tmpFiles/example") -// println(ticket) -//} +import "testing" + +func TestReadSheet(t *testing.T) { + ticket := ReadXlsxFile("../../tmpFiles/example") + println(ticket) +}