Fakultas Ilmu Komputer UI

Commit 5e569261 authored by Muhamad Lutfi Arif's avatar Muhamad Lutfi Arif
Browse files

Merge branch '1706979360-hotfix' into 'master'

[#109] Bug fix and remove unused variable

See merge request !81
parents dc589ec6 878a734c
Pipeline #60025 failed with stages
in 32 minutes and 38 seconds
......@@ -73,7 +73,7 @@
</div>
</header>
{% if requested_material %}
<table class="table">
<table class="table" aria-describedby="Requested Material">
<thead>
<tr>
<th scope="col">No</th>
......
......@@ -2304,8 +2304,8 @@ class RequestMateriTest(TestCase):
def test_displays_all_requested_material(self):
self.client.login(**self.contributor_credential)
first_material_request = ReqMaterial(title="Material 1").save()
second_material_request = ReqMaterial(title="Material 2").save()
ReqMaterial(title="Material 1").save()
ReqMaterial(title="Material 2").save()
response = self.client.get(self.url)
self.assertContains(response, 'Material 1')
self.assertContains(response, 'Material 2')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment