12 lines
393 B
Go
12 lines
393 B
Go
package handler
|
|
|
|
import "testing"
|
|
|
|
func TestCompanyIsolationNullableMaterialHistoryMySQL(t *testing.T) {
|
|
f := newCompanyHTTPFixture(t)
|
|
companySQL(t, f.db, `UPDATE materials SET spec=NULL, unit=NULL WHERE id=301`)
|
|
for _, path := range []string{"/api/logs/materials/301", "/api/inbound/materials/301", "/api/outbound/materials/301"} {
|
|
f.request(t, "both", "301", "GET", path, "", 200)
|
|
}
|
|
}
|